Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009945, allocations: 90.66 kB / 16.65 MB, free: 6.348 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.001358/0.001358, allocations: 177.4 kB / 17.56 MB, free: 5.949 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.397/1.397, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002674, allocations: 10.03 kB / 301.4 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1079, allocations: 50.43 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001882/0.1099, allocations: 1.276 MB / 353.1 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008372/0.1107, allocations: 466.9 kB / 353.6 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.1108, allocations: 0 / 353.6 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.1109, allocations: 11.86 kB / 353.6 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.111, allocations: 7.938 kB / 353.6 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1113, allocations: 35.91 kB / 353.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1114, allocations: 43.84 kB / 353.7 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1115, allocations: 23.98 kB / 353.7 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.1116, allocations: 19.86 kB / 353.7 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.1117, allocations: 19.86 kB / 353.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1117, allocations: 0 / 353.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.1117, allocations: 4 kB / 353.7 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.1118, allocations: 4 kB / 353.7 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.1119, allocations: 57.48 kB / 353.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.801e-05/0.112, allocations: 47.75 kB / 353.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.112, allocations: 0 / 353.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.112, allocations: 0 / 353.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.112, allocations: 0 / 353.8 MB, free: 1.668 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.0004504/0.1124, allocations: 371.5 kB / 354.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1125, allocations: 8.031 kB / 354.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.1125, allocations: 8.844 kB / 354.2 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1127, allocations: 192.2 kB / 354.4 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1128, allocations: 4.375 kB / 354.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1128, allocations: 384 / 354.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.1131, allocations: 129.2 kB / 354.5 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1131, allocations: 0 / 354.5 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1131, allocations: 4 kB / 354.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1131, allocations: 0 / 354.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.1132, allocations: 31.92 kB / 354.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.1135, allocations: 261.8 kB / 354.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.1138, allocations: 134.2 kB / 355 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.1138, allocations: 41.77 kB / 355 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.1139, allocations: 0 / 355 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1139, allocations: 30.56 kB / 355 MB, free: 276 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1139, allocations: 0 / 355 MB, free: 276 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002583/0.1142, allocations: 93.5 kB / 355.1 MB, free: 176 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.1142, allocations: 77.11 kB / 355.2 MB, free: 80 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1144, allocations: 136.6 kB / 355.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1144, allocations: 29.7 kB / 355.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1145, allocations: 100 kB / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.1145, allocations: 7.844 kB / 355.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.1146, allocations: 9.719 kB / 355.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1147, allocations: 326.9 kB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.1147, allocations: 11.98 kB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.1148, allocations: 43.53 kB / 355.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1149, allocations: 47.42 kB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1149, allocations: 4 kB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001375/0.1151, allocations: 69.66 kB / 356 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1151, allocations: 16.02 kB / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1151, allocations: 0 / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1151, allocations: 0 / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.1152, allocations: 8 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1152, allocations: 4 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.1153, allocations: 4 kB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1153, allocations: 3.984 kB / 356 MB, free: 15.21 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: 0 () * 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 8.8e-05/0.1154, allocations: 117.8 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.1155, allocations: 57.53 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.1155, allocations: 12.25 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1155, allocations: 0 / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1155, allocations: 4 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1155, allocations: 0 / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1157, allocations: 169.6 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1157, allocations: 0 / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.1158, allocations: 15.98 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1158, allocations: 4 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1158, allocations: 0 / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1158, allocations: 7.984 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1158, allocations: 0 / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.116, allocations: 176.2 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.1161, allocations: 93 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1161, allocations: 4 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.1162, allocations: 7.984 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.1162, allocations: 4 kB / 356.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-06/0.1162, allocations: 0 / 356.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.492e-05/0.1163, allocations: 107.2 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.532e-06/0.1163, allocations: 0 / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1165, allocations: 11.94 kB / 356.8 MB, free: 14.32 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: 0 () * 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 9.464e-05/0.1166, allocations: 99.19 kB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.1168, allocations: 39.92 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1168, allocations: 0 / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.1168, allocations: 11.98 kB / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1172, allocations: 34.58 kB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.1176, allocations: 193.8 kB / 357.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1179, allocations: 0.6926 MB / 357.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.1179, allocations: 0 / 357.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.1179, allocations: 11.44 kB / 357.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1179, allocations: 4 kB / 357.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Templates: time 0.002602/0.1205, allocations: 471.2 kB / 358.3 MB, free: 12.72 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches