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.00132/0.00132, allocations: 102.6 kB / 16.02 MB, free: 6.352 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.001443/0.001444, allocations: 199.1 kB / 16.95 MB, free: 6.172 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.725/1.725, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.07666/0.07666, allocations: 12.59 MB / 282.7 MB, free: 8.812 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.001782/0.001782, allocations: 95.81 kB / 343 MB, free: 21.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1056, allocations: 49.38 MB / 392.4 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.003116/0.1087, allocations: 1.562 MB / 393.9 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004842/0.1092, allocations: 143.5 kB / 394.1 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.1093, allocations: 0 / 394.1 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.212e-05/0.1094, allocations: 7.938 kB / 394.1 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1095, allocations: 3.984 kB / 394.1 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1098, allocations: 35.92 kB / 394.1 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.116e-05/0.1099, allocations: 35.91 kB / 394.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.11, allocations: 23.92 kB / 394.2 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.11, allocations: 8 kB / 394.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.1101, allocations: 19.86 kB / 394.2 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1101, allocations: 4 kB / 394.2 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.1101, allocations: 0 / 394.2 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.1102, allocations: 7.938 kB / 394.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.1102, allocations: 23.86 kB / 394.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.1104, allocations: 40.11 kB / 394.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1104, allocations: 0 / 394.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1104, allocations: 0 / 394.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1104, allocations: 0 / 394.3 MB, free: 1.684 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.0004742/0.1109, allocations: 379.1 kB / 394.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1109, allocations: 8.031 kB / 394.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.111, allocations: 8.844 kB / 394.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1112, allocations: 188.2 kB / 394.8 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1112, allocations: 384 / 394.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1112, allocations: 4.375 kB / 394.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.1115, allocations: 121.5 kB / 395 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.1116, allocations: 192 / 395 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1116, allocations: 3.938 kB / 395 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1116, allocations: 0 / 395 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.1117, allocations: 23.88 kB / 395 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.112, allocations: 261.8 kB / 395.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1123, allocations: 138.2 kB / 395.4 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.1123, allocations: 29.77 kB / 395.4 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1124, allocations: 4 kB / 395.4 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1124, allocations: 34.56 kB / 395.5 MB, free: 300 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1124, allocations: 0 / 395.5 MB, free: 300 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002598/0.1127, allocations: 73.52 kB / 395.5 MB, free: 220 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.1127, allocations: 81.09 kB / 395.6 MB, free: 120 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1129, allocations: 133.8 kB / 395.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.1129, allocations: 25.7 kB / 395.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.113, allocations: 88.27 kB / 395.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.1131, allocations: 4 kB / 395.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.1131, allocations: 25.61 kB / 395.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1133, allocations: 314.8 kB / 396.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.1133, allocations: 8 kB / 396.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.1134, allocations: 27.42 kB / 396.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.888e-05/0.1134, allocations: 43.38 kB / 396.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1134, allocations: 0 / 396.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.1136, allocations: 69.55 kB / 396.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.1136, allocations: 4 kB / 396.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.1136, allocations: 128 / 396.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1136, allocations: 8 kB / 396.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.448e-05/0.1137, allocations: 0 / 396.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1137, allocations: 3.938 kB / 396.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.1137, allocations: 7.938 kB / 396.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.1137, allocations: 4 kB / 396.4 MB, free: 15.3 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 0.0001013/0.1138, allocations: 125.8 kB / 396.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/0.1139, allocations: 45.61 kB / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.114, allocations: 11.89 kB / 396.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.114, allocations: 8 kB / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.114, allocations: 0 / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.114, allocations: 0 / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.1142, allocations: 165.6 kB / 396.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1142, allocations: 0 / 396.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.1142, allocations: 11.94 kB / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1142, allocations: 0 / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1142, allocations: 0 / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1142, allocations: 0 / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1142, allocations: 0 / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.1144, allocations: 168.2 kB / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.1145, allocations: 89.02 kB / 397 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1145, allocations: 11.92 kB / 397 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.1146, allocations: 0 / 397 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1146, allocations: 0 / 397 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1146, allocations: 4 kB / 397 MB, free: 14.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.634e-05/0.1147, allocations: 99.27 kB / 397.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1147, allocations: 4 kB / 397.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1149, allocations: 4 kB / 397.1 MB, free: 14.46 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 0.0001777/0.1151, allocations: 103.2 kB / 397.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1153, allocations: 23.98 kB / 397.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1153, allocations: 3.938 kB / 397.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.712e-05/0.1153, allocations: 8 kB / 397.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.1158, allocations: 28.2 kB / 397.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.1162, allocations: 162.5 kB / 397.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.1167, allocations: 0.6922 MB / 398.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.556e-05/0.1167, allocations: 4.516 kB / 398.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.1167, allocations: 7.438 kB / 398.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1167, allocations: 4 kB / 398.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Templates: time 0.002874/0.1196, allocations: 484 kB / 398.6 MB, free: 12.9 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile (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) 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