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.000991/0.0009906, allocations: 100.3 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 178.2 kB / 16.61 MB, free: 6.418 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.534/1.534, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08256/0.08256, allocations: 12.6 MB / 283.6 MB, free: 8.711 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.0007025/0.0007026, allocations: 24 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.09807, allocations: 50.38 MB / 394.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001541/0.09966, allocations: 1.138 MB / 396 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002553/0.09993, allocations: 91.78 kB / 396.1 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.1, allocations: 3.938 kB / 396.1 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.1, allocations: 3.984 kB / 396.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.087e-05/0.1001, allocations: 7.922 kB / 396.1 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1003, allocations: 23.92 kB / 396.2 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.556e-05/0.1004, allocations: 11.98 kB / 396.2 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.1005, allocations: 8 kB / 396.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.1005, allocations: 15.91 kB / 396.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.1006, allocations: 11.94 kB / 396.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1006, allocations: 0 / 396.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.1006, allocations: 0 / 396.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.1006, allocations: 4 kB / 396.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.1007, allocations: 25.7 kB / 396.2 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.776e-05/0.1007, allocations: 19.97 kB / 396.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1007, allocations: 4 kB / 396.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.1007, allocations: 4 kB / 396.3 MB, free: 1.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1007, allocations: 0 / 396.3 MB, free: 1.41 MB / 286.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.000414/0.1012, allocations: 339.5 kB / 396.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1012, allocations: 11.97 kB / 396.6 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.1013, allocations: 11.91 kB / 396.6 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1015, allocations: 167.1 kB / 396.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1015, allocations: 0 / 396.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.1015, allocations: 11.95 kB / 396.8 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.1019, allocations: 115.3 kB / 396.9 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1019, allocations: 0 / 396.9 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1019, allocations: 3.984 kB / 396.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1019, allocations: 4 kB / 396.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.102, allocations: 19.98 kB / 396.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.1023, allocations: 165.6 kB / 397.1 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1024, allocations: 62.5 kB / 397.2 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1025, allocations: 4.172 kB / 397.2 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1025, allocations: 38.5 kB / 397.2 MB, free: 316 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1025, allocations: 0 / 397.2 MB, free: 316 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002752/0.1028, allocations: 77.52 kB / 397.3 MB, free: 232 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.1029, allocations: 59.41 kB / 397.3 MB, free: 160 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.103, allocations: 109.8 kB / 397.4 MB, free: 40 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.103, allocations: 29.7 kB / 397.5 MB, free: 4 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.1031, allocations: 80.14 kB / 397.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.1031, allocations: 0 / 397.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.1031, allocations: 0 / 397.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1032, allocations: 318.8 kB / 397.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.1032, allocations: 3.984 kB / 397.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.1033, allocations: 31.44 kB / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/0.1033, allocations: 7.938 kB / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1033, allocations: 0 / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.786e-05/0.1034, allocations: 57.56 kB / 398 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1034, allocations: 11.95 kB / 398 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1034, allocations: 4.125 kB / 398 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1035, allocations: 0 / 398 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.1035, allocations: 8 kB / 398 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1035, allocations: 0 / 398 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.1036, allocations: 3.906 kB / 398 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1036, allocations: 8 kB / 398 MB, free: 15.45 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.178e-05/0.1037, allocations: 117.6 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1038, allocations: 65.62 kB / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.1038, allocations: 7.859 kB / 398.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1038, allocations: 0 / 398.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1038, allocations: 4 kB / 398.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1039, allocations: 0 / 398.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.104, allocations: 157.7 kB / 398.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.104, allocations: 0 / 398.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.1041, allocations: 8 kB / 398.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1041, allocations: 0 / 398.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1041, allocations: 0 / 398.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1041, allocations: 7.953 kB / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1041, allocations: 0 / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.1042, allocations: 93.28 kB / 398.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.1043, allocations: 77.16 kB / 398.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.1043, allocations: 15.97 kB / 398.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.444e-05/0.1044, allocations: 0 / 398.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-06/0.1044, allocations: 8.203 kB / 398.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1044, allocations: 7.938 kB / 398.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.959e-05/0.1044, allocations: 83.28 kB / 398.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1044, allocations: 0 / 398.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.1046, allocations: 8 kB / 398.6 MB, free: 14.7 MB / 302.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 (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.0001106/0.1048, allocations: 95.23 kB / 398.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.1049, allocations: 28.06 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1049, allocations: 0 / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.1049, allocations: 0 / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.1051, allocations: 28.02 kB / 398.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.1054, allocations: 108.7 kB / 398.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1058, allocations: 0.6888 MB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.407e-05/0.1058, allocations: 8 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.1058, allocations: 11.38 kB / 399.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1059, allocations: 0 / 399.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of Templates: time 0.002111/0.108, allocations: 284.1 kB / 399.9 MB, free: 13.39 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches