Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007503/0.0007503, allocations: 97.72 kB / 16.06 MB, free: 40 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.0007696/0.0007697, allocations: 181.1 kB / 16.96 MB, free: 6.895 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.228/1.228, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.05945/0.05945, allocations: 12.6 MB / 284 MB, free: 8.59 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.0006931/0.0006931, allocations: 19.98 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07878/0.07949, allocations: 50.38 MB / 395.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.00223/0.08177, allocations: 1.212 MB / 396.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004303/0.08223, allocations: 143.5 kB / 396.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.08233, allocations: 0 / 396.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.08237, allocations: 0 / 396.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.08249, allocations: 3.938 kB / 396.9 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.08277, allocations: 43.91 kB / 396.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.08287, allocations: 23.98 kB / 397 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.08298, allocations: 15.98 kB / 397 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.08303, allocations: 15.88 kB / 397 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.08308, allocations: 19.86 kB / 397 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.0831, allocations: 3.984 kB / 397 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.08312, allocations: 0 / 397 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.08317, allocations: 7.938 kB / 397 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.08323, allocations: 45.56 kB / 397.1 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.494e-05/0.08333, allocations: 36.11 kB / 397.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.08334, allocations: 3.938 kB / 397.1 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08335, allocations: 0 / 397.1 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.08336, allocations: 0 / 397.1 MB, free: 0.8438 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004108/0.08378, allocations: 363.3 kB / 397.5 MB, free: 448 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.08382, allocations: 8.031 kB / 397.5 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.08387, allocations: 8.844 kB / 397.5 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.08407, allocations: 192.1 kB / 397.7 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.0841, allocations: 384 / 397.7 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.08412, allocations: 8.312 kB / 397.7 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.0844, allocations: 113.6 kB / 397.8 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.08442, allocations: 192 / 397.8 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.08444, allocations: 7.938 kB / 397.8 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.08446, allocations: 4 kB / 397.8 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.257e-05/0.08454, allocations: 11.98 kB / 397.8 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.08487, allocations: 265.7 kB / 398.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.08504, allocations: 138.2 kB / 398.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.66e-05/0.08512, allocations: 29.7 kB / 398.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.08515, allocations: 4 kB / 398.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.08518, allocations: 34.56 kB / 398.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.08519, allocations: 0 / 398.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002531/0.08545, allocations: 81.5 kB / 398.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.08551, allocations: 77.11 kB / 398.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.08564, allocations: 133.8 kB / 398.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.08567, allocations: 29.83 kB / 398.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.08572, allocations: 88.14 kB / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.08574, allocations: 3.906 kB / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.08578, allocations: 17.7 kB / 398.7 MB, free: 15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.08597, allocations: 314.8 kB / 399 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.08602, allocations: 4 kB / 399 MB, free: 14.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.004e-05/0.08608, allocations: 35.42 kB / 399 MB, free: 14.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.08618, allocations: 47.36 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.08619, allocations: 0 / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.08634, allocations: 69.5 kB / 399.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.08637, allocations: 8 kB / 399.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.08639, allocations: 0 / 399.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.0864, allocations: 0 / 399.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.512e-05/0.08643, allocations: 11.94 kB / 399.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.08645, allocations: 0 / 399.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.08649, allocations: 0 / 399.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.08651, allocations: 4 kB / 399.2 MB, free: 14.47 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: 4 (step.y,sample.y,assignClock.y,assignClock.u) * 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 9.358e-05/0.08661, allocations: 129.8 kB / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.0867, allocations: 49.55 kB / 399.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.08675, allocations: 15.89 kB / 399.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.08676, allocations: 0 / 399.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.08677, allocations: 4 kB / 399.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.08678, allocations: 4 kB / 399.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.08706, allocations: 165.6 kB / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.08708, allocations: 0 / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-06/0.08709, allocations: 0 / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.0871, allocations: 0 / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.08711, allocations: 4 kB / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.08713, allocations: 4 kB / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.08713, allocations: 0 / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.08733, allocations: 172.2 kB / 399.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.0874, allocations: 93 kB / 399.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.08743, allocations: 0 / 399.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.08752, allocations: 8 kB / 399.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.08755, allocations: 4 kB / 399.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.08756, allocations: 0 / 399.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.08772, allocations: 99.27 kB / 399.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.08773, allocations: 0 / 399.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.08806, allocations: 8 kB / 399.9 MB, free: 13.62 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample.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 8.328e-05/0.08815, allocations: 95.23 kB / 400 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.08828, allocations: 31.98 kB / 400 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0883, allocations: 0 / 400 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.08833, allocations: 4 kB / 400.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.08875, allocations: 35.83 kB / 400.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.08909, allocations: 173.7 kB / 400.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.08953, allocations: 0.6887 MB / 400.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.08956, allocations: 0.5156 kB / 400.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.08959, allocations: 11.44 kB / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.0896, allocations: 0 / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Templates: time 0.002599/0.09221, allocations: 448 kB / 401.4 MB, free: 12.09 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches