Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.616/1.616, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.881e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003208/0.003237, allocations: 1.614 MB / 273.9 MB, free: 216 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.004441, allocations: 0.5492 MB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.004527, allocations: 3.938 kB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.479e-05/0.004582, allocations: 7.938 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.004714, allocations: 11.92 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.005052, allocations: 71.61 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.005179, allocations: 47.8 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.005278, allocations: 16.16 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.005425, allocations: 39.84 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.967e-05/0.005475, allocations: 7.984 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.005495, allocations: 4 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.005538, allocations: 7.984 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.005584, allocations: 11.94 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.00562, allocations: 23.92 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.005782, allocations: 59.73 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005785, allocations: 0 / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005786, allocations: 0 / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.005791, allocations: 0 / 274.8 MB, free: 15.35 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005828/0.006374, allocations: 419.9 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.006408, allocations: 8.031 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.006568, allocations: 20.88 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.00681, allocations: 152.9 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.006823, allocations: 4.375 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.006834, allocations: 4.375 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.007145, allocations: 124.4 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.007154, allocations: 0 / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.007163, allocations: 0 / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.007169, allocations: 4 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.805e-05/0.007247, allocations: 23.92 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.007623, allocations: 283.2 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.007776, allocations: 97.17 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.007849, allocations: 39.11 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.00787, allocations: 0 / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.007919, allocations: 45.33 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.00792, allocations: 0 / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002848/0.008205, allocations: 85.86 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.521e-05/0.0083, allocations: 106.8 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.008495, allocations: 209.3 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.008516, allocations: 25.7 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.008617, allocations: 142.9 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.008631, allocations: 3.984 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.00867, allocations: 19.38 kB / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002689/0.008939, allocations: 0.4961 MB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/0.00898, allocations: 7.984 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.009003, allocations: 4 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.179e-05/0.009065, allocations: 19.78 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.009069, allocations: 4 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001013/0.00917, allocations: 49.58 kB / 277.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.009186, allocations: 8 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.00919, allocations: 0 / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.009202, allocations: 0 / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.009264, allocations: 11.98 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.00927, allocations: 3.938 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.648e-05/0.009297, allocations: 32 / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.009303, allocations: 4 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001316/0.009434, allocations: 164.5 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.539e-05/0.00953, allocations: 53.64 kB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.009563, allocations: 7.969 kB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.009567, allocations: 4 kB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.009571, allocations: 0 / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.009574, allocations: 0 / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.009765, allocations: 148.4 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009766, allocations: 0 / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.009821, allocations: 12.06 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.009827, allocations: 3.984 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.009845, allocations: 3.984 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.009846, allocations: 0 / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009847, allocations: 4 kB / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.01011, allocations: 235.1 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.01015, allocations: 19.89 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.01017, allocations: 0 / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.01024, allocations: 8 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.01027, allocations: 3.984 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.01027, allocations: 4 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.01038, allocations: 151.2 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01038, allocations: 0 / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.01061, allocations: 4 kB / 278 MB, free: 11.8 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 (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.0001231/0.01073, allocations: 95.25 kB / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.01088, allocations: 27.67 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01089, allocations: 0 / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.01093, allocations: 27.67 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.0113, allocations: 28.8 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.01171, allocations: 188.3 kB / 278.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01182, allocations: 79.27 kB / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.15e-05/0.01185, allocations: 4 kB / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.01188, allocations: 8.5 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of SimCode: time 5.72e-07/0.01188, allocations: 4.25 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of Templates: time 0.003579/0.01546, allocations: 0.6361 MB / 279.1 MB, free: 10.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.547576343989931]