Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, 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.001951/0.00195, allocations: 175.6 kB / 16.61 MB, free: 6.562 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.578/1.578, allocations: 205.4 MB / 222.8 MB, free: 5.664 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.08211/0.08211, 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.0008006/0.0008008, allocations: 20 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09821, allocations: 50.38 MB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001404/0.09964, allocations: 1.142 MB / 396 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001262/0.09978, allocations: 23.92 kB / 396.1 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.09984, allocations: 0 / 396.1 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.09986, allocations: 4 kB / 396.1 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.0999, allocations: 7.922 kB / 396.1 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.1001, allocations: 19.98 kB / 396.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.1002, allocations: 11.98 kB / 396.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.617e-05/0.1002, allocations: 11.98 kB / 396.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.753e-05/0.1003, allocations: 15.92 kB / 396.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.1003, allocations: 11.92 kB / 396.1 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1003, allocations: 0 / 396.1 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-06/0.1003, allocations: 0 / 396.1 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.1004, allocations: 8 kB / 396.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.1004, allocations: 25.7 kB / 396.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.416e-05/0.1004, allocations: 19.91 kB / 396.2 MB, free: 1.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.1004, allocations: 0 / 396.2 MB, free: 1.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1004, allocations: 4 kB / 396.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.1005, allocations: 0 / 396.2 MB, free: 1.473 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.0003146/0.1008, allocations: 347.5 kB / 396.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.1008, allocations: 8.031 kB / 396.5 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.1008, allocations: 7.906 kB / 396.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.101, allocations: 179 kB / 396.7 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.101, allocations: 0 / 396.7 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.1011, allocations: 7.953 kB / 396.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.1014, allocations: 123.3 kB / 396.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1014, allocations: 0 / 396.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1014, allocations: 0 / 396.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1014, allocations: 0 / 396.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1015, allocations: 27.97 kB / 396.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.1017, allocations: 157.6 kB / 397 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1018, allocations: 58.58 kB / 397.1 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.1019, allocations: 0 / 397.1 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1019, allocations: 38.52 kB / 397.1 MB, free: 380 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1019, allocations: 0 / 397.1 MB, free: 380 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002537/0.1021, allocations: 89.64 kB / 397.2 MB, free: 284 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.1022, allocations: 55.41 kB / 397.3 MB, free: 216 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.1023, allocations: 109.8 kB / 397.4 MB, free: 96 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1023, allocations: 29.64 kB / 397.4 MB, free: 60 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.1024, allocations: 84.14 kB / 397.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.1024, allocations: 11.92 kB / 397.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-06/0.1024, allocations: 0 / 397.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1026, allocations: 318.8 kB / 397.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.1026, allocations: 0 / 397.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.1026, allocations: 35.42 kB / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.1026, allocations: 8 kB / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1027, allocations: 0 / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.792e-05/0.1028, allocations: 69.47 kB / 397.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1028, allocations: 7.953 kB / 397.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1028, allocations: 0 / 397.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1028, allocations: 4.188 kB / 397.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.1029, allocations: 8 kB / 397.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1029, allocations: 0 / 397.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.1029, allocations: 0 / 397.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1029, allocations: 12.11 kB / 398 MB, free: 15.48 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.193e-05/0.103, allocations: 117.6 kB / 398.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.1032, allocations: 65.61 kB / 398.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.1032, allocations: 15.84 kB / 398.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1032, allocations: 0 / 398.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1032, allocations: 0 / 398.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.1032, allocations: 0 / 398.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.874e-05/0.1033, allocations: 157.6 kB / 398.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1033, allocations: 0 / 398.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.1034, allocations: 15.98 kB / 398.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1034, allocations: 0 / 398.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1034, allocations: 4 kB / 398.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1034, allocations: 3.953 kB / 398.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1034, allocations: 0 / 398.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.1036, allocations: 96.94 kB / 398.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.1037, allocations: 81.11 kB / 398.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1037, allocations: 7.938 kB / 398.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.31e-05/0.1037, allocations: 8 kB / 398.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-06/0.1037, allocations: 3.953 kB / 398.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1037, allocations: 4.359 kB / 398.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.008e-05/0.1038, allocations: 87.28 kB / 398.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1038, allocations: 0 / 398.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001832/0.104, allocations: 7.938 kB / 398.6 MB, free: 14.71 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 8.475e-05/0.1041, allocations: 95.25 kB / 398.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.1042, allocations: 28.11 kB / 398.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1042, allocations: 4.062 kB / 398.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.1042, allocations: 0 / 398.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.1045, allocations: 31.97 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.1047, allocations: 124.7 kB / 398.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.105, allocations: 0.6809 MB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.284e-05/0.105, allocations: 7.984 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.105, allocations: 11.44 kB / 399.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of SimCode: time 1.483e-06/0.105, allocations: 0 / 399.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of Templates: time 0.002138/0.1072, allocations: 395.2 kB / 400 MB, free: 13.29 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches