Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 103.7 kB / 16.45 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 189.5 kB / 17.39 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07798/0.07798, allocations: 12.6 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 87.55 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1252, allocations: 49.41 MB / 443.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.00274/0.128, allocations: 1.424 MB / 445 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002866/0.1283, allocations: 101.4 kB / 445.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.1284, allocations: 4 kB / 445.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.1284, allocations: 3.938 kB / 445.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.1285, allocations: 7.922 kB / 445.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1287, allocations: 19.98 kB / 445.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.1288, allocations: 23.88 kB / 445.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.129, allocations: 19.97 kB / 445.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.342e-05/0.129, allocations: 4 kB / 445.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.1291, allocations: 11.92 kB / 445.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1291, allocations: 11.94 kB / 445.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.1291, allocations: 0 / 445.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.1291, allocations: 11.94 kB / 445.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.1292, allocations: 7.938 kB / 445.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.829e-05/0.1293, allocations: 35.83 kB / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1293, allocations: 0 / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1293, allocations: 0 / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1293, allocations: 0 / 445.2 MB, free: 14.8 MB / 334.1 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.0005008/0.1298, allocations: 343.5 kB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1299, allocations: 11.97 kB / 445.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.1299, allocations: 12.84 kB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1302, allocations: 172.3 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1302, allocations: 4.375 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1302, allocations: 4.375 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.1305, allocations: 107.9 kB / 445.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1305, allocations: 192 / 445.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1306, allocations: 7.875 kB / 445.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1306, allocations: 3.938 kB / 445.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.596e-05/0.1307, allocations: 23.97 kB / 445.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.1309, allocations: 157.6 kB / 446.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.131, allocations: 50.55 kB / 446.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.991e-05/0.1311, allocations: 24.94 kB / 446.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.1312, allocations: 3.984 kB / 446.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.1312, allocations: 30.56 kB / 446.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1312, allocations: 4 kB / 446.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002738/0.1315, allocations: 73.55 kB / 446.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.1316, allocations: 55.41 kB / 446.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1317, allocations: 109.8 kB / 446.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1317, allocations: 25.7 kB / 446.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.1318, allocations: 84.14 kB / 446.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.1318, allocations: 4 kB / 446.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.1318, allocations: 9.719 kB / 446.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.132, allocations: 322.8 kB / 446.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.132, allocations: 0 / 446.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.132, allocations: 31.44 kB / 446.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.1321, allocations: 31.38 kB / 446.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1321, allocations: 0 / 446.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.002e-05/0.1321, allocations: 69.53 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1322, allocations: 4 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1322, allocations: 7.938 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1322, allocations: 0 / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.1323, allocations: 12.23 kB / 447 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1323, allocations: 0 / 447 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.1323, allocations: 4 kB / 447 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1323, allocations: 4 kB / 447 MB, free: 12.77 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.848e-05/0.1324, allocations: 117.8 kB / 447.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1325, allocations: 57.69 kB / 447.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.1326, allocations: 15.83 kB / 447.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1326, allocations: 0 / 447.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1326, allocations: 4 kB / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1326, allocations: 336 / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.1327, allocations: 153.7 kB / 447.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1327, allocations: 0 / 447.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.1328, allocations: 7.984 kB / 447.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.1328, allocations: 4 kB / 447.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1328, allocations: 3.938 kB / 447.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1328, allocations: 4 kB / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1328, allocations: 3.984 kB / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.133, allocations: 92.89 kB / 447.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.133, allocations: 77.11 kB / 447.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1331, allocations: 7.938 kB / 447.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/0.1331, allocations: 0 / 447.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-06/0.1331, allocations: 0 / 447.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1331, allocations: 4 kB / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.126e-05/0.1332, allocations: 91.27 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1332, allocations: 0 / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001946/0.1334, allocations: 0 / 447.7 MB, free: 12.04 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.461e-05/0.1335, allocations: 95.25 kB / 447.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1336, allocations: 23.92 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1336, allocations: 0 / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1336, allocations: 4.25 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1339, allocations: 24.02 kB / 447.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.1341, allocations: 113.5 kB / 447.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1344, allocations: 0.6807 MB / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.018e-05/0.1344, allocations: 0 / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.1344, allocations: 7.438 kB / 448.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1345, allocations: 0 / 448.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of Templates: time 0.002556/0.137, allocations: 340.8 kB / 448.9 MB, free: 10.7 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches