Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.001512/0.001512, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.49/1.49, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 45.66 kB / 300 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1203, allocations: 49.45 MB / 349.4 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003023/0.1233, allocations: 1.546 MB / 351 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003565/0.1237, allocations: 135.6 kB / 351.1 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.1238, allocations: 0 / 351.1 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.95e-05/0.1239, allocations: 3.938 kB / 351.1 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.124, allocations: 3.984 kB / 351.1 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.1243, allocations: 35.91 kB / 351.1 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.193e-05/0.1244, allocations: 27.92 kB / 351.2 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.1245, allocations: 12 kB / 351.2 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.83e-05/0.1245, allocations: 7.938 kB / 351.2 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.1246, allocations: 15.92 kB / 351.2 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1246, allocations: 0 / 351.2 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.1246, allocations: 4 kB / 351.2 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.1247, allocations: 11.94 kB / 351.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1247, allocations: 19.84 kB / 351.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.1248, allocations: 31.84 kB / 351.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1249, allocations: 0 / 351.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1249, allocations: 0 / 351.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1249, allocations: 7.938 kB / 351.3 MB, free: 2.742 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004935/0.1254, allocations: 363.5 kB / 351.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1254, allocations: 8.031 kB / 351.6 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1255, allocations: 12.78 kB / 351.6 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.1257, allocations: 188.2 kB / 351.8 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1257, allocations: 384 / 351.8 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1257, allocations: 4.375 kB / 351.8 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.126, allocations: 97.61 kB / 351.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.126, allocations: 192 / 351.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.126, allocations: 3.938 kB / 351.9 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.126, allocations: 0 / 351.9 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.821e-05/0.1261, allocations: 11.98 kB / 351.9 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.1264, allocations: 261.8 kB / 352.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.1265, allocations: 41.14 kB / 352.2 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.1266, allocations: 17.78 kB / 352.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1266, allocations: 0 / 352.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1266, allocations: 38.5 kB / 352.3 MB, free: 1.523 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1266, allocations: 4 kB / 352.3 MB, free: 1.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002207/0.1268, allocations: 57.53 kB / 352.3 MB, free: 1.457 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.1269, allocations: 77.11 kB / 352.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.127, allocations: 137 kB / 352.6 MB, free: 1.223 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1271, allocations: 25.7 kB / 352.6 MB, free: 1.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.1271, allocations: 88.39 kB / 352.7 MB, free: 1.102 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.1271, allocations: 4 kB / 352.7 MB, free: 1.098 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.1272, allocations: 17.62 kB / 352.7 MB, free: 1.074 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1273, allocations: 314.8 kB / 353 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.1273, allocations: 7.984 kB / 353 MB, free: 0.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.1274, allocations: 13.72 kB / 353 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.1275, allocations: 33.7 kB / 353.1 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1275, allocations: 0 / 353.1 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.173e-05/0.1276, allocations: 45.64 kB / 353.1 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1276, allocations: 4 kB / 353.1 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1277, allocations: 3.984 kB / 353.1 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1277, allocations: 4 kB / 353.1 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.1277, allocations: 3.938 kB / 353.1 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1277, allocations: 3.938 kB / 353.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.1277, allocations: 64 / 353.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1278, allocations: 8 kB / 353.1 MB, free: 0.6133 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.869e-05/0.1279, allocations: 117.8 kB / 353.2 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.1279, allocations: 37.59 kB / 353.3 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.128, allocations: 11.53 kB / 353.3 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.128, allocations: 0 / 353.3 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.128, allocations: 3.938 kB / 353.3 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.128, allocations: 4 kB / 353.3 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.1283, allocations: 169.6 kB / 353.5 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1283, allocations: 4.031 kB / 353.5 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-06/0.1283, allocations: 0 / 353.5 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1283, allocations: 0 / 353.5 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1283, allocations: 0 / 353.5 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1283, allocations: 7.938 kB / 353.5 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1283, allocations: 4 kB / 353.5 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.1285, allocations: 152.2 kB / 353.6 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.1286, allocations: 89.12 kB / 353.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1286, allocations: 4 kB / 353.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.1286, allocations: 0 / 353.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1287, allocations: 7.984 kB / 353.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1287, allocations: 4 kB / 353.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.202e-05/0.1288, allocations: 99.2 kB / 353.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1288, allocations: 0 / 353.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.129, allocations: 4 kB / 353.8 MB, free: 15.8 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001252/0.1292, allocations: 107.2 kB / 353.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1293, allocations: 19.92 kB / 354 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1293, allocations: 0 / 354 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.1293, allocations: 4 kB / 354 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.1297, allocations: 20.58 kB / 354 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.1301, allocations: 160.2 kB / 354.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.1305, allocations: 0.6887 MB / 354.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.999e-05/0.1306, allocations: 0 / 354.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.1306, allocations: 7.438 kB / 354.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1306, allocations: 4 kB / 354.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Templates: time 0.002864/0.1335, allocations: 402 kB / 355.2 MB, free: 14.34 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches