Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006851/0.006856, allocations: 186.8 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.666/3.666, allocations: 205.4 MB / 222.6 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001858/0.001858, allocations: 90.84 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.2089/0.2089, allocations: 12.59 MB / 331.8 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009829/0.0009837, allocations: 13.94 kB / 392 MB, free: 54.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2099, allocations: 50.38 MB / 442.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002696/0.2127, allocations: 1.139 MB / 443.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.2174, allocations: 99.7 kB / 443.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.2176, allocations: 0 / 443.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.2177, allocations: 3.938 kB / 443.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.2177, allocations: 4 kB / 443.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.2182, allocations: 15.98 kB / 443.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.2183, allocations: 23.91 kB / 443.6 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.2185, allocations: 8.125 kB / 443.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.2185, allocations: 7.984 kB / 443.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.2186, allocations: 3.938 kB / 443.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.2187, allocations: 4 kB / 443.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.2187, allocations: 0 / 443.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.2188, allocations: 7.938 kB / 443.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.2188, allocations: 29.7 kB / 443.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.893e-05/0.2189, allocations: 23.97 kB / 443.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2189, allocations: 0 / 443.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.219, allocations: 0 / 443.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.219, allocations: 0 / 443.7 MB, free: 10.22 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005283/0.2195, allocations: 340.1 kB / 444 MB, free: 9.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.2196, allocations: 8.031 kB / 444.1 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.2197, allocations: 7.906 kB / 444.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.2199, allocations: 175 kB / 444.2 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.22, allocations: 4 kB / 444.2 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.22, allocations: 7.953 kB / 444.2 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.2207, allocations: 115.2 kB / 444.4 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2207, allocations: 3.984 kB / 444.4 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2207, allocations: 4 kB / 444.4 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2208, allocations: 0 / 444.4 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.221, allocations: 23.98 kB / 444.4 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.2213, allocations: 157.7 kB / 444.5 MB, free: 9.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.2216, allocations: 62.55 kB / 444.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.2217, allocations: 0 / 444.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2218, allocations: 38.45 kB / 444.6 MB, free: 9.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.304e-06/0.2218, allocations: 0 / 444.6 MB, free: 9.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004662/0.2223, allocations: 77.75 kB / 444.7 MB, free: 9.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.2223, allocations: 59.34 kB / 444.8 MB, free: 8.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2225, allocations: 105.8 kB / 444.9 MB, free: 8.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2225, allocations: 29.7 kB / 444.9 MB, free: 8.828 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.2226, allocations: 150.6 kB / 445.1 MB, free: 8.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.2226, allocations: 0 / 445.1 MB, free: 8.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.2226, allocations: 4 kB / 445.1 MB, free: 8.676 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.2227, allocations: 310.8 kB / 445.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.2228, allocations: 4 kB / 445.4 MB, free: 8.359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.935e-05/0.2228, allocations: 35.36 kB / 445.4 MB, free: 8.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.2229, allocations: 8 kB / 445.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2229, allocations: 0 / 445.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001542/0.2231, allocations: 53.72 kB / 445.5 MB, free: 8.246 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.2231, allocations: 15.98 kB / 445.5 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.2232, allocations: 0 / 445.5 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.2232, allocations: 0 / 445.5 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.2233, allocations: 8 kB / 445.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2234, allocations: 3.938 kB / 445.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.2234, allocations: 0 / 445.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2235, allocations: 4 kB / 445.5 MB, free: 8.215 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.2236, allocations: 121.8 kB / 445.6 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.2239, allocations: 65.58 kB / 445.7 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.224, allocations: 11.86 kB / 445.7 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.224, allocations: 7.938 kB / 445.7 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.2241, allocations: 4 kB / 445.7 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2241, allocations: 0 / 445.7 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2242, allocations: 157.7 kB / 445.9 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2242, allocations: 0 / 445.9 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.2244, allocations: 8 kB / 445.9 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.2244, allocations: 3.938 kB / 445.9 MB, free: 7.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2245, allocations: 4 kB / 445.9 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.2245, allocations: 3.953 kB / 445.9 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2245, allocations: 0 / 445.9 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.2248, allocations: 89.42 kB / 446 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.2249, allocations: 81.02 kB / 446 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.2249, allocations: 4 kB / 446 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.225, allocations: 7.984 kB / 446 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-06/0.225, allocations: 3.953 kB / 446.1 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2251, allocations: 4 kB / 446.1 MB, free: 7.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.578e-05/0.2251, allocations: 83.28 kB / 446.1 MB, free: 7.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2252, allocations: 0 / 446.1 MB, free: 7.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004522/0.2256, allocations: 4 kB / 446.1 MB, free: 7.457 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/0.2258, allocations: 91.25 kB / 446.2 MB, free: 7.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.2261, allocations: 35.86 kB / 446.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.2261, allocations: 0 / 446.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.2261, allocations: 0 / 446.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.2265, allocations: 39.66 kB / 446.3 MB, free: 7.289 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.227, allocations: 138.4 kB / 446.4 MB, free: 7.117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.2272, allocations: 0.6967 MB / 447.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.2273, allocations: 7.438 kB / 447.1 MB, free: 6.387 MB / 282.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2273, allocations: 0 / 447.1 MB, free: 6.387 MB / 282.7 MB Notification: Performance of Templates: time 0.007727/0.2351, allocations: 0.5411 MB / 447.7 MB, free: 5.848 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches