Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001134, allocations: 104.2 kB / 17.59 MB, free: 5.43 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.001067/0.001068, allocations: 187.3 kB / 18.51 MB, free: 4.508 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.507/1.507, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 46.64 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1162, allocations: 49.46 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00418/0.1205, allocations: 1.491 MB / 352.2 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005132/0.121, allocations: 148.9 kB / 352.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1212, allocations: 0 / 352.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.109e-05/0.1213, allocations: 11.92 kB / 352.4 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.1215, allocations: 7.938 kB / 352.4 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1218, allocations: 43.89 kB / 352.4 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1219, allocations: 23.94 kB / 352.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1221, allocations: 15.98 kB / 352.5 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/0.1221, allocations: 11.94 kB / 352.5 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.1222, allocations: 19.86 kB / 352.5 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1222, allocations: 0 / 352.5 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.1223, allocations: 4 kB / 352.5 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.1223, allocations: 19.91 kB / 352.5 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.1224, allocations: 19.88 kB / 352.6 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1225, allocations: 43.83 kB / 352.6 MB, free: 2.551 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1226, allocations: 0 / 352.6 MB, free: 2.551 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1226, allocations: 0 / 352.6 MB, free: 2.551 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1226, allocations: 0 / 352.6 MB, free: 2.551 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.0005989/0.1232, allocations: 375.4 kB / 353 MB, free: 2.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1232, allocations: 8.031 kB / 353 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.1233, allocations: 8.844 kB / 353 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1236, allocations: 188.2 kB / 353.2 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1236, allocations: 12.38 kB / 353.2 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1236, allocations: 4.375 kB / 353.2 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.124, allocations: 113.5 kB / 353.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.124, allocations: 192 / 353.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.124, allocations: 3.938 kB / 353.3 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.124, allocations: 4 kB / 353.3 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.147e-05/0.1241, allocations: 23.92 kB / 353.3 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.1246, allocations: 257.8 kB / 353.6 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.1249, allocations: 142.2 kB / 353.7 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.125, allocations: 29.77 kB / 353.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.125, allocations: 0 / 353.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.125, allocations: 34.56 kB / 353.8 MB, free: 1.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.125, allocations: 3.984 kB / 353.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002995/0.1253, allocations: 81.61 kB / 353.9 MB, free: 1.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.1254, allocations: 81.05 kB / 353.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1256, allocations: 145.1 kB / 354.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1256, allocations: 25.7 kB / 354.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.1257, allocations: 84.14 kB / 354.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.1257, allocations: 4 kB / 354.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.1257, allocations: 21.62 kB / 354.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1259, allocations: 318.8 kB / 354.5 MB, free: 360 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.126, allocations: 16.03 kB / 354.5 MB, free: 344 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.126, allocations: 27.42 kB / 354.6 MB, free: 304 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.882e-05/0.1261, allocations: 55.36 kB / 354.6 MB, free: 236 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1261, allocations: 0 / 354.6 MB, free: 236 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001429/0.1263, allocations: 69.55 kB / 354.7 MB, free: 160 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1263, allocations: 8 kB / 354.7 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1263, allocations: 0 / 354.7 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1263, allocations: 0 / 354.7 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.1264, allocations: 8 kB / 354.7 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1264, allocations: 4.062 kB / 354.7 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.1265, allocations: 11.94 kB / 354.7 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1265, allocations: 4 kB / 354.7 MB, free: 124 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.0001478/0.1266, allocations: 121.8 kB / 354.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.1267, allocations: 49.55 kB / 354.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.1268, allocations: 8.25 kB / 354.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1268, allocations: 4 kB / 354.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1268, allocations: 0 / 354.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1268, allocations: 0 / 354.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.127, allocations: 173.6 kB / 355.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.127, allocations: 4 kB / 355.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.1271, allocations: 11.92 kB / 355.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1271, allocations: 4 kB / 355.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1271, allocations: 0 / 355.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1271, allocations: 0 / 355.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1271, allocations: 0 / 355.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1274, allocations: 172.2 kB / 355.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.1274, allocations: 93 kB / 355.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1275, allocations: 0 / 355.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.1275, allocations: 4 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.1276, allocations: 0 / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1276, allocations: 0 / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.702e-05/0.1277, allocations: 107.2 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1277, allocations: 0 / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1279, allocations: 4 kB / 355.5 MB, free: 15.27 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.0001397/0.128, allocations: 107.1 kB / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1282, allocations: 39.86 kB / 355.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1282, allocations: 3.938 kB / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.1283, allocations: 7.984 kB / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.1287, allocations: 25.36 kB / 355.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.1291, allocations: 184.3 kB / 355.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1294, allocations: 0.6924 MB / 356.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.1294, allocations: 7.438 kB / 356.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1294, allocations: 0 / 356.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of Templates: time 0.002133/0.1315, allocations: 0.6872 MB / 357.2 MB, free: 13.45 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches