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.001/0.001, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009854/0.0009858, allocations: 95.48 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002867, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2852, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3891, allocations: 77.82 MB / 487.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.3895, allocations: 76.64 kB / 487.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004191/0.3937, allocations: 1.42 MB / 488.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3937, allocations: 0 / 488.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3937, allocations: 0 / 488.7 MB, free: 12.18 MB / 362.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.0004624/0.3942, allocations: 377.9 kB / 489.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.3942, allocations: 12.03 kB / 489.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.3943, allocations: 12.78 kB / 489.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3945, allocations: 192.1 kB / 489.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3945, allocations: 4.375 kB / 489.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3946, allocations: 8.375 kB / 489.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.3949, allocations: 168.5 kB / 489.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.395, allocations: 192 / 489.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.395, allocations: 7.875 kB / 489.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.395, allocations: 4 kB / 489.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3951, allocations: 43.92 kB / 489.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.3956, allocations: 369.9 kB / 489.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.3959, allocations: 123.8 kB / 490 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.396, allocations: 62.67 kB / 490 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.396, allocations: 7.938 kB / 490.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3961, allocations: 30.56 kB / 490.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3961, allocations: 0 / 490.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003739/0.3965, allocations: 129.6 kB / 490.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.3966, allocations: 114.9 kB / 490.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3967, allocations: 140.1 kB / 490.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3968, allocations: 25.7 kB / 490.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.3968, allocations: 104 kB / 490.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3969, allocations: 3.906 kB / 490.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.3969, allocations: 0 / 490.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.397, allocations: 322.8 kB / 490.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.3971, allocations: 20.06 kB / 490.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.3972, allocations: 71.64 kB / 491 MB, free: 9.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3974, allocations: 108.7 kB / 491.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3974, allocations: 0 / 491.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.3976, allocations: 105.4 kB / 491.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3976, allocations: 12.28 kB / 491.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3976, allocations: 0 / 491.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3976, allocations: 4 kB / 491.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.3977, allocations: 23.92 kB / 491.2 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3977, allocations: 4 kB / 491.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.3978, allocations: 8 kB / 491.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3978, allocations: 4 kB / 491.3 MB, free: 9.289 MB / 362.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 () * 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 9.792e-05/0.3979, allocations: 129.7 kB / 491.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3981, allocations: 77.91 kB / 491.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.3981, allocations: 12.72 kB / 491.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3981, allocations: 4 kB / 491.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3981, allocations: 0 / 491.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3981, allocations: 0 / 491.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.3984, allocations: 193.4 kB / 491.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3984, allocations: 3.938 kB / 491.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.3985, allocations: 20 kB / 491.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3985, allocations: 0 / 491.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3985, allocations: 4 kB / 491.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3985, allocations: 11.92 kB / 491.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3985, allocations: 0 / 491.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.3989, allocations: 320.4 kB / 492 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.399, allocations: 89 kB / 492.1 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.399, allocations: 7.938 kB / 492.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.3991, allocations: 7.984 kB / 492.1 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.3992, allocations: 7.938 kB / 492.1 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3992, allocations: 0 / 492.1 MB, free: 8.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.43e-05/0.3992, allocations: 110.2 kB / 492.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3993, allocations: 0 / 492.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.3995, allocations: 12 kB / 492.2 MB, free: 8.195 MB / 362.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 () * 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.0001354/0.3997, allocations: 99.25 kB / 492.3 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.3998, allocations: 68.12 kB / 492.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3999, allocations: 0 / 492.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.3999, allocations: 12.56 kB / 492.4 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.4004, allocations: 58.25 kB / 492.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.4008, allocations: 222.9 kB / 492.7 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.4012, allocations: 0.7005 MB / 493.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.629e-05/0.4013, allocations: 4.656 kB / 493.4 MB, free: 6.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.4013, allocations: 11.44 kB / 493.4 MB, free: 6.953 MB / 362.7 MB Notification: Performance of SimCode: time 2.134e-06/0.4013, allocations: 0 / 493.4 MB, free: 6.953 MB / 362.7 MB Notification: Performance of Templates: time 0.002768/0.4041, allocations: 0.6021 MB / 494 MB, free: 6.355 MB / 362.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/jenkins1/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