Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 43.92 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2462, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00358/0.2498, allocations: 1.651 MB / 425.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2512, allocations: 0.5649 MB / 426.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.2513, allocations: 11.94 kB / 426.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.2513, allocations: 3.938 kB / 426.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.2516, allocations: 27.72 kB / 426.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.2519, allocations: 67.81 kB / 426.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.2521, allocations: 75.81 kB / 426.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2522, allocations: 8.234 kB / 426.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2523, allocations: 47.77 kB / 426.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/0.2524, allocations: 31.86 kB / 426.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.2524, allocations: 4 kB / 426.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.552e-05/0.2524, allocations: 8 kB / 426.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.2525, allocations: 27.91 kB / 426.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.2525, allocations: 35.73 kB / 426.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2527, allocations: 84.84 kB / 426.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2527, allocations: 4 kB / 426.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2527, allocations: 0 / 426.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2527, allocations: 0 / 426.5 MB, free: 12.02 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005576/0.2532, allocations: 329.8 kB / 426.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2533, allocations: 8.031 kB / 426.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.2533, allocations: 16.89 kB / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.2536, allocations: 150.3 kB / 427 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.2536, allocations: 4.375 kB / 427 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.2536, allocations: 8.375 kB / 427 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.2541, allocations: 221.9 kB / 427.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2541, allocations: 0 / 427.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2542, allocations: 8 kB / 427.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2542, allocations: 0 / 427.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.2543, allocations: 51.89 kB / 427.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.2547, allocations: 265.6 kB / 427.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.2549, allocations: 95.75 kB / 427.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.2551, allocations: 58.73 kB / 427.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.2551, allocations: 3.938 kB / 427.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.2551, allocations: 38.56 kB / 427.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.2551, allocations: 0 / 427.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004283/0.2555, allocations: 141.5 kB / 427.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/0.2556, allocations: 130.8 kB / 428 MB, free: 10.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2558, allocations: 140.4 kB / 428.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.2558, allocations: 29.7 kB / 428.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.2558, allocations: 88.12 kB / 428.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.2559, allocations: 11.95 kB / 428.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.2559, allocations: 33.66 kB / 428.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2561, allocations: 318.8 kB / 428.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.2561, allocations: 23.98 kB / 428.7 MB, free: 9.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.2562, allocations: 85.42 kB / 428.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.2564, allocations: 121.2 kB / 428.9 MB, free: 9.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2564, allocations: 4 kB / 428.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002289/0.2566, allocations: 129.7 kB / 429 MB, free: 9.246 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2567, allocations: 8.031 kB / 429 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2567, allocations: 4 kB / 429 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2567, allocations: 4 kB / 429 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2568, allocations: 27.86 kB / 429 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2568, allocations: 4 kB / 429 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.2569, allocations: 15.92 kB / 429.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2569, allocations: 8 kB / 429.1 MB, free: 9.176 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001162/0.257, allocations: 133.1 kB / 429.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.2572, allocations: 97.52 kB / 429.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.2572, allocations: 24.39 kB / 429.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2573, allocations: 4 kB / 429.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2573, allocations: 0.625 kB / 429.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2573, allocations: 0 / 429.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.2575, allocations: 160.6 kB / 429.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2575, allocations: 0 / 429.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.2576, allocations: 23.98 kB / 429.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2576, allocations: 0 / 429.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2576, allocations: 4 kB / 429.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2576, allocations: 0 / 429.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2576, allocations: 4 kB / 429.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.2579, allocations: 233 kB / 429.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.258, allocations: 27.83 kB / 429.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.258, allocations: 0 / 429.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.2581, allocations: 11.98 kB / 429.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.2581, allocations: 8 kB / 429.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.2581, allocations: 0 / 429.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.2582, allocations: 111.2 kB / 429.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2582, allocations: 0 / 429.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.2585, allocations: 16 kB / 429.9 MB, free: 8.254 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001194/0.2586, allocations: 99.19 kB / 430 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.2589, allocations: 84.33 kB / 430.1 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2589, allocations: 3.938 kB / 430.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.2589, allocations: 8 kB / 430.1 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.2593, allocations: 55.92 kB / 430.1 MB, free: 8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.26, allocations: 287.1 kB / 430.4 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.2603, allocations: 0.7159 MB / 431.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.2604, allocations: 11.44 kB / 431.2 MB, free: 6.926 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2604, allocations: 0 / 431.2 MB, free: 6.926 MB / 334.1 MB Notification: Performance of Templates: time 0.002985/0.2633, allocations: 1.193 MB / 432.3 MB, free: 5.742 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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: 6.954962527845055]