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.001096/0.001096, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001137/0.001137, allocations: 191 kB / 18.63 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.343/1.343, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 47.66 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1145, allocations: 49.45 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003891/0.1184, allocations: 1.558 MB / 353.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1195, allocations: 484.2 kB / 353.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/0.1196, allocations: 3.938 kB / 353.5 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.299e-05/0.1197, allocations: 7.922 kB / 353.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1198, allocations: 7.938 kB / 353.6 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.1202, allocations: 47.83 kB / 353.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.1203, allocations: 39.91 kB / 353.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1204, allocations: 11.98 kB / 353.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.383e-05/0.1205, allocations: 27.86 kB / 353.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.1206, allocations: 23.86 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1206, allocations: 0 / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.1206, allocations: 7.938 kB / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.1207, allocations: 11.94 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.1208, allocations: 31.78 kB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1209, allocations: 47.83 kB / 353.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1209, allocations: 0 / 353.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1209, allocations: 0 / 353.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.121, allocations: 0 / 353.8 MB, free: 1.363 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.0005767/0.1215, allocations: 375.1 kB / 354.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1216, allocations: 12.03 kB / 354.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.1216, allocations: 8.844 kB / 354.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1219, allocations: 200 kB / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.122, allocations: 4.375 kB / 354.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.122, allocations: 4.375 kB / 354.4 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.1223, allocations: 117.3 kB / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1224, allocations: 3.984 kB / 354.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1224, allocations: 4 kB / 354.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1224, allocations: 0 / 354.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1225, allocations: 19.92 kB / 354.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.1229, allocations: 273.7 kB / 354.8 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.1231, allocations: 142.2 kB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.1232, allocations: 25.77 kB / 355 MB, free: 0 / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.1233, allocations: 4.047 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1233, allocations: 42.5 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1233, allocations: 0 / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003078/0.1236, allocations: 77.52 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.1237, allocations: 81.11 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1238, allocations: 133.8 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1239, allocations: 25.7 kB / 355.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.1239, allocations: 96.19 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.124, allocations: 8 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.124, allocations: 17.62 kB / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1241, allocations: 322.8 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.1242, allocations: 4 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.1243, allocations: 39.36 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1244, allocations: 51.36 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1244, allocations: 0 / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001674/0.1246, allocations: 77.61 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1246, allocations: 4 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1246, allocations: 0 / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1246, allocations: 4 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.1247, allocations: 8 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1247, allocations: 3.984 kB / 355.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.1248, allocations: 4 kB / 356 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1248, allocations: 7.938 kB / 356 MB, free: 14.91 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 9.865e-05/0.1249, allocations: 121.7 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.125, allocations: 53.66 kB / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.1251, allocations: 12.25 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1251, allocations: 0 / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1251, allocations: 0 / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1251, allocations: 7.984 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.1254, allocations: 169.6 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1254, allocations: 0 / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/0.1255, allocations: 8 kB / 356.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1255, allocations: 0 / 356.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1255, allocations: 4 kB / 356.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1255, allocations: 7.984 kB / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1255, allocations: 336 / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1258, allocations: 180.2 kB / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.1259, allocations: 89 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1259, allocations: 0 / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.126, allocations: 4 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.126, allocations: 8 kB / 356.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1261, allocations: 0 / 356.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.625e-05/0.1262, allocations: 113.9 kB / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1262, allocations: 0 / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.1265, allocations: 4 kB / 356.7 MB, free: 14.04 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 0.0001512/0.1267, allocations: 99.72 kB / 356.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1269, allocations: 36.09 kB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1269, allocations: 4.062 kB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.05e-05/0.1269, allocations: 8 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.1274, allocations: 29.77 kB / 356.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.1278, allocations: 171.3 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1281, allocations: 0.6963 MB / 357.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.1282, allocations: 4.062 kB / 357.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.1282, allocations: 15.38 kB / 357.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1282, allocations: 0 / 357.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of Templates: time 0.002463/0.1307, allocations: 0.5256 MB / 358.3 MB, free: 12.39 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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