Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001463/0.001463, allocations: 107.3 kB / 16.92 MB, free: 5.742 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.001475/0.001475, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001207, allocations: 50.97 kB / 300.6 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1161, allocations: 49.43 MB / 350 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003423/0.1195, allocations: 1.493 MB / 351.5 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000436/0.12, allocations: 145 kB / 351.7 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.1201, allocations: 4 kB / 351.7 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.916e-05/0.1202, allocations: 3.938 kB / 351.7 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.1203, allocations: 15.91 kB / 351.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1206, allocations: 35.86 kB / 351.7 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.982e-05/0.1207, allocations: 27.92 kB / 351.8 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1209, allocations: 23.97 kB / 351.8 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.1209, allocations: 11.94 kB / 351.8 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.121, allocations: 19.86 kB / 351.8 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.121, allocations: 0 / 351.8 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.121, allocations: 4 kB / 351.8 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.1211, allocations: 8 kB / 351.8 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.1211, allocations: 19.81 kB / 351.9 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.1213, allocations: 47.8 kB / 351.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1213, allocations: 0 / 351.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1213, allocations: 4 kB / 351.9 MB, free: 2.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1213, allocations: 0 / 351.9 MB, free: 2.504 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.0007599/0.1221, allocations: 367.5 kB / 352.3 MB, free: 2.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1221, allocations: 12.03 kB / 352.3 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.1222, allocations: 8.844 kB / 352.3 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1225, allocations: 191.7 kB / 352.5 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1225, allocations: 4.312 kB / 352.5 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1225, allocations: 8.375 kB / 352.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.1229, allocations: 113.6 kB / 352.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1229, allocations: 192 / 352.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.123, allocations: 3.938 kB / 352.6 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.123, allocations: 0 / 352.6 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.1231, allocations: 15.98 kB / 352.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1235, allocations: 265.7 kB / 352.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.1237, allocations: 138.2 kB / 353 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.1238, allocations: 29.7 kB / 353 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1238, allocations: 4 kB / 353 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1239, allocations: 34.56 kB / 353.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1239, allocations: 0 / 353.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002692/0.1241, allocations: 77.53 kB / 353.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.1242, allocations: 81.11 kB / 353.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1244, allocations: 129.7 kB / 353.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.1245, allocations: 33.83 kB / 353.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.1246, allocations: 84.14 kB / 353.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.1246, allocations: 0 / 353.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.1247, allocations: 21.7 kB / 353.5 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.1249, allocations: 314.8 kB / 353.8 MB, free: 348 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.125, allocations: 7.984 kB / 353.8 MB, free: 340 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1251, allocations: 35.44 kB / 353.8 MB, free: 292 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.1252, allocations: 39.36 kB / 353.9 MB, free: 240 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1252, allocations: 4 kB / 353.9 MB, free: 236 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001357/0.1253, allocations: 69.5 kB / 354 MB, free: 160 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.1254, allocations: 10.97 kB / 354 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1254, allocations: 0 / 354 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1254, allocations: 0 / 354 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-05/0.1254, allocations: 4 kB / 354 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1254, allocations: 0 / 354 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.1255, allocations: 7.938 kB / 354 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1255, allocations: 0 / 354 MB, free: 140 kB / 286.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,sample1.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.0001337/0.1256, allocations: 129.8 kB / 354.1 MB, free: 0 / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.1257, allocations: 49.78 kB / 354.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.1258, allocations: 19.84 kB / 354.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1258, allocations: 0 / 354.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1258, allocations: 4 kB / 354.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1258, allocations: 0 / 354.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.1261, allocations: 169.6 kB / 354.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1261, allocations: 0 / 354.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-06/0.1261, allocations: 0 / 354.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1261, allocations: 4 kB / 354.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1261, allocations: 0 / 354.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1261, allocations: 0 / 354.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1261, allocations: 4 kB / 354.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.1264, allocations: 168.2 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.1265, allocations: 89.09 kB / 354.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1265, allocations: 4 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/0.1266, allocations: 0 / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.1266, allocations: 0 / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1266, allocations: 4 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.1268, allocations: 107.2 kB / 354.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 354.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1271, allocations: 4 kB / 354.7 MB, free: 15.28 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,sample1.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.0001311/0.1272, allocations: 107.1 kB / 354.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.1274, allocations: 27.92 kB / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1274, allocations: 0 / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/0.1274, allocations: 8.25 kB / 354.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.1279, allocations: 27.89 kB / 354.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.1283, allocations: 150.2 kB / 355 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.1287, allocations: 0.6885 MB / 355.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.114e-05/0.1287, allocations: 12.52 kB / 355.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.1288, allocations: 7.438 kB / 355.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1288, allocations: 0 / 355.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of Templates: time 0.003033/0.1318, allocations: 498.1 kB / 356.2 MB, free: 13.71 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches