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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001942/0.001942, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002131/0.002131, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.711e-05, allocations: 5.125 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003623/0.003661, allocations: 1.706 MB / 273.9 MB, free: 80 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005421/0.004203, allocations: 167.6 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.004293, allocations: 0 / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.229e-05/0.004366, allocations: 7.875 kB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.004519, allocations: 15.91 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.004792, allocations: 47.77 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.004933, allocations: 51.84 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.005054, allocations: 23.73 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.005128, allocations: 31.91 kB / 274.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.005184, allocations: 15.97 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.005214, allocations: 8 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.005231, allocations: 8 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.005293, allocations: 15.92 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.005332, allocations: 27.86 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.005496, allocations: 63.72 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005499, allocations: 0 / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.005499, allocations: 0 / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.005504, allocations: 0 / 274.4 MB, free: 15.6 MB / 266.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.0006543/0.006159, allocations: 419.8 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.006218, allocations: 19.97 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.006283, allocations: 12.89 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.006539, allocations: 148.4 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.006555, allocations: 8.375 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.00657, allocations: 4.375 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.006983, allocations: 184.4 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.006994, allocations: 192 / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.007006, allocations: 4.375 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.007012, allocations: 4.375 kB / 275.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.007124, allocations: 31.92 kB / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.007672, allocations: 422.3 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.007987, allocations: 125.3 kB / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.008117, allocations: 63.14 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.00815, allocations: 7.984 kB / 275.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.008194, allocations: 45.33 kB / 275.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.008195, allocations: 0 / 275.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003717/0.008567, allocations: 121.6 kB / 276 MB, free: 13.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.008675, allocations: 110.8 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.008864, allocations: 201 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.008886, allocations: 25.7 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.009297, allocations: 150.7 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.009314, allocations: 3.953 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.009358, allocations: 19.38 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002957/0.009654, allocations: 0.4923 MB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.574e-05/0.00969, allocations: 4 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.009738, allocations: 31.62 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.43e-05/0.009812, allocations: 31.36 kB / 277 MB, free: 12.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009814, allocations: 0 / 277 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/0.009926, allocations: 53.58 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.009946, allocations: 7.938 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.009954, allocations: 4 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.00997, allocations: 0 / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.686e-05/0.01001, allocations: 12.12 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01001, allocations: 0 / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/0.01004, allocations: 0 / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.01004, allocations: 7.938 kB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001409/0.01018, allocations: 164.6 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.01035, allocations: 73.91 kB / 277.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.0104, allocations: 20.7 kB / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01041, allocations: 0 / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01041, allocations: 0 / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01042, allocations: 4 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.01066, allocations: 140.6 kB / 277.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01066, allocations: 4 kB / 277.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.01073, allocations: 16 kB / 277.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01073, allocations: 0 / 277.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.01074, allocations: 4 kB / 277.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.01075, allocations: 7.922 kB / 277.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01075, allocations: 3.938 kB / 277.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.01123, allocations: 414.4 kB / 277.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.01128, allocations: 23.88 kB / 278 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.0113, allocations: 8 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.01142, allocations: 4 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.01146, allocations: 0 / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.01147, allocations: 4 kB / 278 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.0116, allocations: 159 kB / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0116, allocations: 0 / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.01184, allocations: 4 kB / 278.1 MB, free: 11.46 MB / 266.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 (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.0001326/0.01197, allocations: 99.25 kB / 278.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.01214, allocations: 51.59 kB / 278.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01214, allocations: 0 / 278.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.01218, allocations: 15.69 kB / 278.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.01268, allocations: 42.23 kB / 278.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.01315, allocations: 224 kB / 278.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.01328, allocations: 79.33 kB / 278.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.24e-05/0.01335, allocations: 8.172 kB / 278.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.01339, allocations: 16.5 kB / 278.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01339, allocations: 0 / 278.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Templates: time 0.003687/0.01707, allocations: 0.6921 MB / 279.4 MB, free: 10.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.480894642998464]