Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001222, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3932, allocations: 50.55 MB / 409.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003713/0.397, allocations: 1.573 MB / 410.8 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3982, allocations: 0.5298 MB / 411.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3983, allocations: 4 kB / 411.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.732e-05/0.3984, allocations: 7.875 kB / 411.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3986, allocations: 11.94 kB / 411.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.399, allocations: 51.81 kB / 411.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3991, allocations: 43.8 kB / 411.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3992, allocations: 27.95 kB / 411.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3994, allocations: 27.92 kB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.057e-05/0.3995, allocations: 19.86 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.3995, allocations: 4 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.297e-05/0.3995, allocations: 8 kB / 411.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.3996, allocations: 15.92 kB / 411.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.3997, allocations: 27.8 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.3998, allocations: 59.75 kB / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3999, allocations: 0 / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3999, allocations: 0 / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3999, allocations: 4 kB / 411.7 MB, free: 15.2 MB / 334.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.0005632/0.4004, allocations: 376.3 kB / 412 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4005, allocations: 8.031 kB / 412 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.4007, allocations: 20.77 kB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.401, allocations: 196.1 kB / 412.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.4011, allocations: 4.375 kB / 412.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.4011, allocations: 4.375 kB / 412.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.4014, allocations: 129.3 kB / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4015, allocations: 0 / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4015, allocations: 0 / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4015, allocations: 0 / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.4016, allocations: 23.98 kB / 412.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.402, allocations: 265.7 kB / 412.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.4023, allocations: 130.3 kB / 412.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.4024, allocations: 41.77 kB / 412.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4024, allocations: 4 kB / 412.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.4024, allocations: 34.5 kB / 412.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.4024, allocations: 0 / 412.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002966/0.4027, allocations: 81.5 kB / 413 MB, free: 13.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.4028, allocations: 89.23 kB / 413 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.403, allocations: 136.6 kB / 413.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.403, allocations: 25.7 kB / 413.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.4031, allocations: 96.03 kB / 413.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.4031, allocations: 0 / 413.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.4031, allocations: 17.72 kB / 413.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4033, allocations: 318.8 kB / 413.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.4033, allocations: 11.94 kB / 413.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.4034, allocations: 39.42 kB / 413.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.142e-05/0.4035, allocations: 47.3 kB / 413.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4035, allocations: 4 kB / 413.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001365/0.4036, allocations: 69.52 kB / 413.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4037, allocations: 4 kB / 413.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4037, allocations: 7.938 kB / 413.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.4037, allocations: 0 / 413.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.4038, allocations: 8 kB / 413.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.4038, allocations: 0 / 413.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.4039, allocations: 15.92 kB / 413.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4039, allocations: 4.125 kB / 413.8 MB, free: 12.74 MB / 334.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 0.0001035/0.404, allocations: 125.7 kB / 414 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.4041, allocations: 57.8 kB / 414 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.4041, allocations: 12.19 kB / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4041, allocations: 4 kB / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4041, allocations: 0 / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4041, allocations: 0 / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.4043, allocations: 181.6 kB / 414.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4044, allocations: 0 / 414.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.4044, allocations: 12 kB / 414.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4044, allocations: 0 / 414.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.4044, allocations: 0 / 414.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4044, allocations: 0 / 414.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4045, allocations: 0 / 414.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.4047, allocations: 168.2 kB / 414.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.4048, allocations: 97 kB / 414.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.4048, allocations: 11.92 kB / 414.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.4049, allocations: 0 / 414.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.4049, allocations: 4 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.4049, allocations: 0 / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.405, allocations: 109.5 kB / 414.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4051, allocations: 0 / 414.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.4053, allocations: 12 kB / 414.6 MB, free: 11.85 MB / 334.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.0001703/0.4055, allocations: 95.25 kB / 414.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.4057, allocations: 35.91 kB / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4057, allocations: 3.938 kB / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.4057, allocations: 8 kB / 414.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.4061, allocations: 31.94 kB / 414.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.4065, allocations: 171.8 kB / 414.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.4068, allocations: 0.6963 MB / 415.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.302e-05/0.4069, allocations: 0 / 415.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.4069, allocations: 11.44 kB / 415.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4069, allocations: 0 / 415.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of Templates: time 0.003408/0.4103, allocations: 0.5366 MB / 416.2 MB, free: 10.21 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches