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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 199.7 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.69/1.69, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 98.7 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.676e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 51.48 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3179/0.4271, allocations: 77.15 MB / 472.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4274, allocations: 79.86 kB / 472.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003151/0.4305, allocations: 1.412 MB / 473.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4306, allocations: 1.312 kB / 473.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4306, allocations: 1.781 kB / 473.8 MB, free: 13.31 MB / 346.7 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.0002677/0.4308, allocations: 359.2 kB / 474.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.4309, allocations: 12.77 kB / 474.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.4309, allocations: 9.406 kB / 474.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.4311, allocations: 196.6 kB / 474.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4311, allocations: 4.859 kB / 474.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.4311, allocations: 4 kB / 474.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.662e-05/0.4312, allocations: 24.97 kB / 474.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.4314, allocations: 152.1 kB / 474.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4315, allocations: 0 / 474.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4315, allocations: 0.8438 kB / 474.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4315, allocations: 0 / 474.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.4318, allocations: 355.7 kB / 474.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.432, allocations: 102 kB / 475 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.432, allocations: 45.75 kB / 475.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4321, allocations: 1.312 kB / 475.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.4321, allocations: 33.69 kB / 475.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.4321, allocations: 4 kB / 475.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001833/0.4323, allocations: 79.91 kB / 475.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.4323, allocations: 114.3 kB / 475.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.4324, allocations: 127 kB / 475.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.4324, allocations: 25.7 kB / 475.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.4325, allocations: 85.25 kB / 475.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.4325, allocations: 21.78 kB / 475.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.4325, allocations: 0 / 475.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.4325, allocations: 313.2 kB / 475.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.4326, allocations: 15.5 kB / 475.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/0.4326, allocations: 64.31 kB / 475.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.4327, allocations: 18.17 kB / 475.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4327, allocations: 0 / 475.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001095/0.4328, allocations: 90.72 kB / 476 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4328, allocations: 4.75 kB / 476 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4328, allocations: 7.969 kB / 476 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4328, allocations: 4 kB / 476 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.4329, allocations: 23.19 kB / 476.1 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4329, allocations: 4.5 kB / 476.1 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.433, allocations: 8.531 kB / 476.1 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.433, allocations: 8 kB / 476.1 MB, free: 10.99 MB / 346.7 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 () * 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 4.359e-05/0.433, allocations: 101.6 kB / 476.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.4331, allocations: 69.78 kB / 476.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.4332, allocations: 25.8 kB / 476.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4332, allocations: 0 / 476.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4332, allocations: 4 kB / 476.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4332, allocations: 2.578 kB / 476.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.4334, allocations: 156.8 kB / 476.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4334, allocations: 0 / 476.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.4335, allocations: 22.7 kB / 476.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4335, allocations: 0.7969 kB / 476.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.4335, allocations: 7.953 kB / 476.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4335, allocations: 0 / 476.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4335, allocations: 0.7969 kB / 476.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.4337, allocations: 322.4 kB / 476.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.4338, allocations: 93.12 kB / 476.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4338, allocations: 8.703 kB / 476.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.4339, allocations: 0.5625 kB / 476.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.4339, allocations: 9.125 kB / 476.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4339, allocations: 8.203 kB / 476.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.434, allocations: 99.05 kB / 477 MB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.434, allocations: 1.969 kB / 477 MB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.4343, allocations: 11.94 kB / 477 MB, free: 10.06 MB / 346.7 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 () * 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 7.166e-05/0.4343, allocations: 99.95 kB / 477.1 MB, free: 9.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.86e-05/0.4344, allocations: 44.44 kB / 477.1 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4344, allocations: 3.188 kB / 477.2 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.4345, allocations: 4.562 kB / 477.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.4347, allocations: 37.56 kB / 477.2 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.435, allocations: 126.2 kB / 477.3 MB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.4351, allocations: 0.7092 MB / 478 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.019e-05/0.4351, allocations: 6.5 kB / 478 MB, free: 9.039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.4352, allocations: 11.44 kB / 478 MB, free: 9.027 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4352, allocations: 0 / 478 MB, free: 9.027 MB / 346.7 MB Notification: Performance of Templates: time 0.002232/0.4374, allocations: 0.5719 MB / 478.6 MB, free: 8.711 MB / 346.7 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches