Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 87.81 kB / 16.31 MB, free: 5.684 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.0009204/0.0009205, allocations: 176.7 kB / 17.21 MB, free: 5.602 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.363/1.363, allocations: 223.2 MB / 241.2 MB, free: 352 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 4 kB / 300.8 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 50.42 MB / 351.2 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001964/0.11, allocations: 1.376 MB / 352.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003842/0.1104, allocations: 171.4 kB / 352.8 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.1105, allocations: 0 / 352.8 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.1105, allocations: 3.938 kB / 352.8 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.1106, allocations: 7.984 kB / 352.8 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1109, allocations: 39.91 kB / 352.8 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.111, allocations: 51.84 kB / 352.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1111, allocations: 31.92 kB / 352.9 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.1111, allocations: 11.88 kB / 352.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.1112, allocations: 23.86 kB / 353 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1112, allocations: 0 / 353 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.1112, allocations: 0 / 353 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.1113, allocations: 15.98 kB / 353 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.1113, allocations: 37.64 kB / 353 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.328e-05/0.1114, allocations: 47.91 kB / 353.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1114, allocations: 0 / 353.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1114, allocations: 0 / 353.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1115, allocations: 0 / 353.1 MB, free: 2.199 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004353/0.1119, allocations: 379.3 kB / 353.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1119, allocations: 11.97 kB / 353.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.112, allocations: 7.906 kB / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1122, allocations: 190.8 kB / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1122, allocations: 12 kB / 353.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.1122, allocations: 7.984 kB / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.1126, allocations: 157.8 kB / 353.8 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1126, allocations: 7.953 kB / 353.8 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1126, allocations: 3.938 kB / 353.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1126, allocations: 4 kB / 353.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1127, allocations: 43.91 kB / 353.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.1131, allocations: 369.8 kB / 354.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1133, allocations: 119.8 kB / 354.3 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1135, allocations: 70.66 kB / 354.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1135, allocations: 4 kB / 354.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1135, allocations: 30.56 kB / 354.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1135, allocations: 0 / 354.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003165/0.1138, allocations: 129.5 kB / 354.6 MB, free: 476 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1139, allocations: 110.8 kB / 354.7 MB, free: 340 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.114, allocations: 134 kB / 354.8 MB, free: 192 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1141, allocations: 25.7 kB / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.1141, allocations: 92.28 kB / 354.9 MB, free: 64 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.1141, allocations: 11.89 kB / 354.9 MB, free: 52 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.1141, allocations: 4.25 kB / 354.9 MB, free: 48 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1143, allocations: 322.8 kB / 355.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.1143, allocations: 19.98 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.1144, allocations: 67.66 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.35e-05/0.1145, allocations: 31.94 kB / 355.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1145, allocations: 0 / 355.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001742/0.1147, allocations: 121.3 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1147, allocations: 6.812 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1147, allocations: 4 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1147, allocations: 0 / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.1148, allocations: 19.98 kB / 355.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1148, allocations: 12.22 kB / 355.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.1149, allocations: 7.906 kB / 355.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1149, allocations: 8 kB / 355.6 MB, free: 15.4 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.115, allocations: 121.8 kB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1151, allocations: 77.86 kB / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.1151, allocations: 20.64 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1151, allocations: 0 / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1152, allocations: 0 / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1152, allocations: 4 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.1154, allocations: 181.8 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1154, allocations: 0 / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.1155, allocations: 23.92 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1155, allocations: 4 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1155, allocations: 7.953 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1155, allocations: 80 / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1156, allocations: 7.984 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.1159, allocations: 316.2 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.116, allocations: 93 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.116, allocations: 4 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1161, allocations: 8 kB / 356.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.1161, allocations: 7.984 kB / 356.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-06/0.1161, allocations: 4 kB / 356.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.202e-05/0.1162, allocations: 103.3 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1162, allocations: 0 / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1165, allocations: 15.91 kB / 356.5 MB, free: 14.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001006/0.1166, allocations: 107.1 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1168, allocations: 63.91 kB / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1168, allocations: 0 / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.1168, allocations: 23.86 kB / 356.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.1173, allocations: 42.77 kB / 356.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.1177, allocations: 229.4 kB / 357 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.1179, allocations: 0.7043 MB / 357.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.196e-05/0.118, allocations: 8.672 kB / 357.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.118, allocations: 11.44 kB / 357.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.118, allocations: 0 / 357.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of Templates: time 0.002565/0.1206, allocations: 0.5921 MB / 358.3 MB, free: 12.47 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches