Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001473, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 246.9 MB, free: 10.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 58.28 kB / 306.9 MB, free: 1.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 50.53 MB / 357.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003607/0.1158, allocations: 1.613 MB / 359.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004538/0.1163, allocations: 143.5 kB / 359.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1164, allocations: 4 kB / 359.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.897e-05/0.1166, allocations: 0 / 359.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1167, allocations: 3.938 kB / 359.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1171, allocations: 35.91 kB / 359.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1172, allocations: 31.86 kB / 359.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1173, allocations: 27.95 kB / 359.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.1174, allocations: 11.94 kB / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.1174, allocations: 15.92 kB / 359.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1174, allocations: 0 / 359.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.1175, allocations: 4 kB / 359.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.1175, allocations: 11.92 kB / 359.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.1176, allocations: 23.81 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.826e-05/0.1177, allocations: 27.94 kB / 359.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1177, allocations: 4 kB / 359.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1177, allocations: 0 / 359.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1177, allocations: 0 / 359.4 MB, free: 12.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005603/0.1183, allocations: 367.5 kB / 359.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1183, allocations: 12.03 kB / 359.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.1184, allocations: 12.84 kB / 359.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1186, allocations: 188.1 kB / 360 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1186, allocations: 4.359 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1187, allocations: 8.375 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.119, allocations: 113.6 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.119, allocations: 192 / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.119, allocations: 3.938 kB / 360.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1191, allocations: 8 kB / 360.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/0.1192, allocations: 27.91 kB / 360.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.1195, allocations: 249.8 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.1198, allocations: 146.2 kB / 360.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/0.1199, allocations: 33.72 kB / 360.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1199, allocations: 3.984 kB / 360.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.12, allocations: 38.5 kB / 360.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.12, allocations: 0 / 360.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002758/0.1202, allocations: 73.52 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.1203, allocations: 89.23 kB / 360.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1204, allocations: 128.2 kB / 360.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1205, allocations: 29.7 kB / 360.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.1205, allocations: 88.12 kB / 361 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1206, allocations: 11.92 kB / 361 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.1206, allocations: 17.62 kB / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1207, allocations: 314.8 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/0.1208, allocations: 15.92 kB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.1208, allocations: 35.42 kB / 361.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.608e-05/0.1209, allocations: 47.36 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1209, allocations: 4 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.1211, allocations: 61.56 kB / 361.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1211, allocations: 8 kB / 361.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1211, allocations: 0 / 361.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1211, allocations: 0 / 361.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.1212, allocations: 11.98 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1212, allocations: 0 / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.1213, allocations: 4 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1213, allocations: 12.12 kB / 361.5 MB, free: 10.1 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.291e-05/0.1214, allocations: 121.7 kB / 361.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.122e-05/0.1215, allocations: 53.59 kB / 361.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.1215, allocations: 4.25 kB / 361.7 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1215, allocations: 7.984 kB / 361.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1215, allocations: 0 / 361.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1216, allocations: 0 / 361.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1218, allocations: 169.6 kB / 361.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1218, allocations: 0 / 361.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.1218, allocations: 12 kB / 361.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1218, allocations: 0 / 361.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1218, allocations: 4 kB / 361.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1219, allocations: 0 / 361.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1219, allocations: 0 / 361.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.1221, allocations: 176.5 kB / 362 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.1221, allocations: 96.94 kB / 362.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1221, allocations: 48 / 362.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.1222, allocations: 7.984 kB / 362.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1223, allocations: 7.984 kB / 362.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1223, allocations: 7.938 kB / 362.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.1224, allocations: 101.9 kB / 362.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1224, allocations: 0 / 362.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1227, allocations: 8 kB / 362.3 MB, free: 9.227 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.0001206/0.1228, allocations: 99.25 kB / 362.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.123, allocations: 31.91 kB / 362.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.123, allocations: 0 / 362.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.123, allocations: 8 kB / 362.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1234, allocations: 27.89 kB / 362.4 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.1238, allocations: 194.2 kB / 362.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.124, allocations: 0.6887 MB / 363.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.1241, allocations: 7.438 kB / 363.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1241, allocations: 0 / 363.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of Templates: time 0.002509/0.1266, allocations: 0.6808 MB / 364 MB, free: 7.43 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches