Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 101.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.00222/0.00222, allocations: 177.8 kB / 16.61 MB, free: 6.422 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.638/1.638, allocations: 205.4 MB / 222.8 MB, free: 5.672 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.08759/0.08759, allocations: 12.59 MB / 283.6 MB, free: 8.715 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.0007913/0.0007918, allocations: 23.98 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1128, allocations: 50.38 MB / 394.9 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001511/0.1144, allocations: 1.138 MB / 396 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002382/0.1146, allocations: 87.77 kB / 396.1 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.1147, allocations: 4 kB / 396.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.1147, allocations: 0 / 396.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.336e-05/0.1148, allocations: 7.984 kB / 396.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.115, allocations: 27.86 kB / 396.2 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.296e-05/0.1151, allocations: 15.97 kB / 396.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.1152, allocations: 7.938 kB / 396.2 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.005e-05/0.1152, allocations: 8 kB / 396.2 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.976e-05/0.1153, allocations: 11.92 kB / 396.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1153, allocations: 0 / 396.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.1153, allocations: 0 / 396.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.1153, allocations: 3.938 kB / 396.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.1153, allocations: 33.7 kB / 396.2 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.081e-05/0.1154, allocations: 16.25 kB / 396.3 MB, free: 1.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1154, allocations: 4 kB / 396.3 MB, free: 1.434 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1154, allocations: 0 / 396.3 MB, free: 1.434 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.135e-06/0.1154, allocations: 0 / 396.3 MB, free: 1.434 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.0003457/0.1158, allocations: 343.2 kB / 396.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1158, allocations: 8.031 kB / 396.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.1159, allocations: 3.906 kB / 396.6 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.116, allocations: 167.1 kB / 396.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.116, allocations: 8 kB / 396.8 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1161, allocations: 7.891 kB / 396.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.1163, allocations: 103.3 kB / 396.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1163, allocations: 0 / 396.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1164, allocations: 7.984 kB / 396.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1164, allocations: 0 / 396.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.377e-05/0.1164, allocations: 19.98 kB / 396.9 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.1166, allocations: 153.6 kB / 397.1 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1167, allocations: 50.56 kB / 397.1 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1167, allocations: 0 / 397.1 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1168, allocations: 42.58 kB / 397.1 MB, free: 380 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.164e-06/0.1168, allocations: 4 kB / 397.2 MB, free: 376 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001884/0.117, allocations: 69.56 kB / 397.2 MB, free: 300 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.117, allocations: 55.41 kB / 397.3 MB, free: 232 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.005e-05/0.1171, allocations: 105.8 kB / 397.4 MB, free: 116 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1171, allocations: 25.7 kB / 397.4 MB, free: 84 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.1172, allocations: 80.14 kB / 397.5 MB, free: 0 / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.1172, allocations: 4.047 kB / 397.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.1172, allocations: 8 kB / 397.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.1173, allocations: 314.8 kB / 397.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.1173, allocations: 0 / 397.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.1174, allocations: 31.38 kB / 397.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.76e-05/0.1174, allocations: 8 kB / 397.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1174, allocations: 4 kB / 397.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.525e-05/0.1175, allocations: 49.62 kB / 397.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1175, allocations: 11.95 kB / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1175, allocations: 0 / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1175, allocations: 3.938 kB / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.031e-05/0.1175, allocations: 7.938 kB / 397.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1176, allocations: 0 / 397.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.1176, allocations: 8 kB / 397.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.1176, allocations: 0 / 397.9 MB, free: 15.53 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 6.255e-05/0.1177, allocations: 121.7 kB / 398 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.1178, allocations: 57.59 kB / 398.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.1178, allocations: 11.45 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1178, allocations: 256 / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1178, allocations: 0 / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1178, allocations: 4 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.049e-05/0.1179, allocations: 153.7 kB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1179, allocations: 0 / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.1179, allocations: 11.92 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.118, allocations: 4 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.118, allocations: 0 / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.118, allocations: 3.953 kB / 398.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.118, allocations: 0 / 398.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.1181, allocations: 77.45 kB / 398.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.1181, allocations: 81.02 kB / 398.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1182, allocations: 11.97 kB / 398.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/0.1182, allocations: 11.98 kB / 398.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-06/0.1182, allocations: 3.953 kB / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1182, allocations: 0 / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.1182, allocations: 79.28 kB / 398.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1182, allocations: 0 / 398.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001751/0.1184, allocations: 4 kB / 398.5 MB, free: 14.8 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 7.316e-05/0.1185, allocations: 95.25 kB / 398.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.71e-05/0.1186, allocations: 31.92 kB / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1186, allocations: 0 / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.1186, allocations: 0 / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.1188, allocations: 27.95 kB / 398.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.119, allocations: 108.7 kB / 398.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.1192, allocations: 0.6889 MB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.348e-05/0.1193, allocations: 4 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.1193, allocations: 7.438 kB / 399.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1193, allocations: 0 / 399.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of Templates: time 0.001904/0.1212, allocations: 288.1 kB / 399.8 MB, free: 13.5 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches