Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001421/0.001421, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.00143/0.00143, allocations: 149.4 kB / 24.25 MB, free: 184 kB / 18.57 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.45/1.45, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/3.023e-05, allocations: 6.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003059/0.003089, allocations: 1.581 MB / 268.9 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009639/0.004053, allocations: 462.5 kB / 269.4 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.004127, allocations: 0 / 269.4 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.185e-05/0.004179, allocations: 11.94 kB / 269.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.004318, allocations: 7.875 kB / 269.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.004572, allocations: 35.89 kB / 269.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.004694, allocations: 55.7 kB / 269.5 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.004793, allocations: 15.89 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.004894, allocations: 27.97 kB / 269.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.004951, allocations: 15.91 kB / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.004971, allocations: 4 kB / 269.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.004985, allocations: 4 kB / 269.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.005042, allocations: 15.94 kB / 269.6 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.005085, allocations: 15.92 kB / 269.6 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.005216, allocations: 51.81 kB / 269.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.005221, allocations: 3.984 kB / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005221, allocations: 0 / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005226, allocations: 0 / 269.6 MB, free: 4.391 MB / 250.7 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.000521/0.005747, allocations: 290.1 kB / 269.9 MB, free: 4.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.005782, allocations: 12.92 kB / 269.9 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.00583, allocations: 8.891 kB / 269.9 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.006078, allocations: 145.6 kB / 270.1 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.006087, allocations: 384 / 270.1 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.006103, allocations: 8.375 kB / 270.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.006421, allocations: 117.6 kB / 270.2 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.006431, allocations: 192 / 270.2 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.00645, allocations: 4.375 kB / 270.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.006458, allocations: 3.938 kB / 270.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.189e-05/0.00655, allocations: 27.92 kB / 270.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.006868, allocations: 201.5 kB / 270.4 MB, free: 3.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.007063, allocations: 61.14 kB / 270.5 MB, free: 3.406 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.574e-05/0.007139, allocations: 29.77 kB / 270.5 MB, free: 3.371 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.007159, allocations: 0 / 270.5 MB, free: 3.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.007193, allocations: 38.5 kB / 270.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.007194, allocations: 0 / 270.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002922/0.007486, allocations: 89.64 kB / 270.6 MB, free: 3.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.007572, allocations: 85.05 kB / 270.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.007721, allocations: 140.7 kB / 270.9 MB, free: 2.984 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.007743, allocations: 25.7 kB / 270.9 MB, free: 2.953 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.007807, allocations: 84.14 kB / 271 MB, free: 2.867 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.007828, allocations: 7.938 kB / 271 MB, free: 2.859 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.007864, allocations: 17.72 kB / 271 MB, free: 2.836 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.008046, allocations: 314.8 kB / 271.3 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.008089, allocations: 7.984 kB / 271.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/0.008121, allocations: 8 kB / 271.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.066e-05/0.008191, allocations: 20.94 kB / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.008193, allocations: 0 / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001247/0.008318, allocations: 57.58 kB / 271.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.008333, allocations: 4 kB / 271.4 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.008338, allocations: 3.938 kB / 271.4 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.008351, allocations: 0 / 271.4 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.008409, allocations: 7.984 kB / 271.4 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.008414, allocations: 0 / 271.4 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.008456, allocations: 4.031 kB / 271.4 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.008466, allocations: 4 kB / 271.4 MB, free: 2.395 MB / 250.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.0001123/0.008578, allocations: 117.8 kB / 271.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.008665, allocations: 49.78 kB / 271.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.008709, allocations: 20.36 kB / 271.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.008711, allocations: 0 / 271.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.008716, allocations: 0 / 271.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.008718, allocations: 0 / 271.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.008897, allocations: 113.3 kB / 271.7 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.008899, allocations: 0 / 271.7 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.008971, allocations: 19.98 kB / 271.7 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008973, allocations: 3.938 kB / 271.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.008987, allocations: 7.938 kB / 271.7 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.008989, allocations: 0 / 271.7 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.008992, allocations: 4 kB / 271.8 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.009218, allocations: 164.3 kB / 271.9 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.009261, allocations: 15.94 kB / 271.9 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.009281, allocations: 7.938 kB / 271.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.00936, allocations: 0 / 271.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.009393, allocations: 7.938 kB / 271.9 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.009396, allocations: 4 kB / 271.9 MB, free: 1.797 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.009493, allocations: 107.2 kB / 272.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009493, allocations: 0 / 272.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000217/0.00971, allocations: 4 kB / 272.1 MB, free: 1.688 MB / 250.7 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.0001258/0.009836, allocations: 103.1 kB / 272.2 MB, free: 1.578 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.009977, allocations: 23.98 kB / 272.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009979, allocations: 0 / 272.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.01002, allocations: 12.05 kB / 272.2 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.01039, allocations: 31.52 kB / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.01079, allocations: 168.2 kB / 272.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.01089, allocations: 71.33 kB / 272.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.009e-05/0.01092, allocations: 4 kB / 272.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.01096, allocations: 8.5 kB / 272.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01096, allocations: 0 / 272.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of Templates: time 0.003226/0.01418, allocations: 0.5612 MB / 273 MB, free: 0.668 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.174492549034767]