Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 69.61 kB / 306.9 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1114, allocations: 50.52 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003026/0.1145, allocations: 1.701 MB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005066/0.115, allocations: 163.5 kB / 359.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.726e-05/0.1152, allocations: 7.938 kB / 359.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.472e-05/0.1152, allocations: 3.938 kB / 359.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.1154, allocations: 15.84 kB / 359.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.1157, allocations: 43.91 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1159, allocations: 55.91 kB / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.1161, allocations: 27.97 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.1161, allocations: 27.86 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.1162, allocations: 27.8 kB / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.1163, allocations: 4 kB / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.1163, allocations: 8 kB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.1164, allocations: 23.91 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.1164, allocations: 31.75 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1166, allocations: 67.72 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1166, allocations: 0 / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1166, allocations: 0 / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1166, allocations: 0 / 359.7 MB, free: 11.89 MB / 302.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.0004919/0.1171, allocations: 391.3 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1172, allocations: 8.031 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.1172, allocations: 16.84 kB / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.1174, allocations: 195.1 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1174, allocations: 8.312 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1174, allocations: 8.375 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1178, allocations: 158.4 kB / 360.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1178, allocations: 192 / 360.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1178, allocations: 3.938 kB / 360.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.1179, allocations: 4 kB / 360.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.118, allocations: 39.91 kB / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.1184, allocations: 377.7 kB / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.1186, allocations: 111.8 kB / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1188, allocations: 66.86 kB / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1188, allocations: 0 / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1188, allocations: 34.56 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.1188, allocations: 0 / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003322/0.1192, allocations: 121.4 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.1193, allocations: 115.1 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1194, allocations: 133.8 kB / 361.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1194, allocations: 29.69 kB / 361.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.1195, allocations: 88.14 kB / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.1195, allocations: 7.906 kB / 361.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.1195, allocations: 29.7 kB / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1197, allocations: 310.8 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.1197, allocations: 15.98 kB / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.1198, allocations: 75.66 kB / 362 MB, free: 9.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.12, allocations: 95.53 kB / 362.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.12, allocations: 0 / 362.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.1202, allocations: 113.4 kB / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1202, allocations: 8 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1202, allocations: 0 / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1202, allocations: 4 kB / 362.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.1203, allocations: 19.98 kB / 362.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1203, allocations: 3.938 kB / 362.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.1204, allocations: 12.28 kB / 362.2 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1204, allocations: 8 kB / 362.2 MB, free: 8.992 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.623e-05/0.1205, allocations: 125.7 kB / 362.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.1206, allocations: 77.5 kB / 362.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.1206, allocations: 20.7 kB / 362.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1207, allocations: 3.938 kB / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1207, allocations: 4 kB / 362.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1207, allocations: 3.938 kB / 362.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1209, allocations: 181.6 kB / 362.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1209, allocations: 4 kB / 362.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.121, allocations: 19.98 kB / 362.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.121, allocations: 8.188 kB / 362.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.121, allocations: 3.984 kB / 362.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1211, allocations: 3.938 kB / 362.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1211, allocations: 0 / 362.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.1214, allocations: 320.2 kB / 363 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.1215, allocations: 97 kB / 363.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1216, allocations: 3.938 kB / 363.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.1217, allocations: 4 kB / 363.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.1217, allocations: 3.984 kB / 363.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1217, allocations: 8 kB / 363.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.439e-05/0.1218, allocations: 109.9 kB / 363.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1218, allocations: 0 / 363.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00031/0.1221, allocations: 8 kB / 363.2 MB, free: 7.898 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 (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.0001274/0.1222, allocations: 103.2 kB / 363.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1224, allocations: 63.84 kB / 363.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1224, allocations: 0.5625 kB / 363.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.1225, allocations: 23.92 kB / 363.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.123, allocations: 36.02 kB / 363.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.1234, allocations: 203.7 kB / 363.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1237, allocations: 0.7024 MB / 364.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.382e-05/0.1237, allocations: 8.656 kB / 364.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.1238, allocations: 11.44 kB / 364.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1238, allocations: 0 / 364.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of Templates: time 0.003095/0.1269, allocations: 0.6897 MB / 365 MB, free: 6 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches