Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001341/0.001341, allocations: 123.4 kB / 17.79 MB, free: 5.359 MB / 14.72 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.001559/0.001559, allocations: 204.3 kB / 20.74 MB, free: 2.414 MB / 14.72 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.532/1.532, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 47.92 kB / 373.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1308, allocations: 53.33 MB / 426.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003715/0.1345, allocations: 1.597 MB / 428.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1357, allocations: 0.5454 MB / 428.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.1358, allocations: 3.938 kB / 429 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.037e-05/0.1358, allocations: 11.92 kB / 429 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.136, allocations: 7.938 kB / 429 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1363, allocations: 51.81 kB / 429 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1365, allocations: 47.8 kB / 429.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1366, allocations: 15.97 kB / 429.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1367, allocations: 27.92 kB / 429.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.1368, allocations: 23.86 kB / 429.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1368, allocations: 4 kB / 429.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.1368, allocations: 4 kB / 429.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.1369, allocations: 19.92 kB / 429.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.137, allocations: 31.73 kB / 429.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1371, allocations: 55.73 kB / 429.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1371, allocations: 0 / 429.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.21e-06/0.1371, allocations: 4 kB / 429.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1371, allocations: 0 / 429.3 MB, free: 1.922 MB / 350.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.0005649/0.1377, allocations: 371.1 kB / 429.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1377, allocations: 12.03 kB / 429.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.1379, allocations: 20.83 kB / 429.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1382, allocations: 204.1 kB / 429.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.1382, allocations: 384 / 429.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1382, allocations: 12.31 kB / 429.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.1385, allocations: 117.3 kB / 430 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1385, allocations: 4 kB / 430 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1385, allocations: 0 / 430 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1385, allocations: 0 / 430 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.1386, allocations: 23.97 kB / 430 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.139, allocations: 265.7 kB / 430.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1392, allocations: 138.3 kB / 430.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.1393, allocations: 33.69 kB / 430.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1393, allocations: 7.984 kB / 430.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1394, allocations: 30.56 kB / 430.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1394, allocations: 4 kB / 430.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002943/0.1396, allocations: 77.56 kB / 430.5 MB, free: 424 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.1397, allocations: 89.09 kB / 430.6 MB, free: 316 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1399, allocations: 139.6 kB / 430.8 MB, free: 164 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1399, allocations: 25.7 kB / 430.8 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.1399, allocations: 88.14 kB / 430.9 MB, free: 40 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.14, allocations: 7.938 kB / 430.9 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.14, allocations: 21.84 kB / 430.9 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2589/0.3989, allocations: 312.5 kB / 431.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.399, allocations: 10.23 kB / 431.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.3991, allocations: 36.36 kB / 431.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.3992, allocations: 49.31 kB / 431.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3992, allocations: 1.094 kB / 431.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000177/0.3994, allocations: 75.03 kB / 431.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3994, allocations: 7.062 kB / 431.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3994, allocations: 0.8438 kB / 431.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3994, allocations: 1.906 kB / 431.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.3995, allocations: 8.234 kB / 431.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3995, allocations: 5.969 kB / 431.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.3995, allocations: 6.562 kB / 431.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3996, allocations: 3.125 kB / 431.4 MB, free: 10.98 MB / 350.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 6.849e-05/0.3996, allocations: 118.8 kB / 431.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/0.3997, allocations: 51.86 kB / 431.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.3997, allocations: 13.45 kB / 431.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3997, allocations: 6.062 kB / 431.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3998, allocations: 1.828 kB / 431.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3998, allocations: 2.156 kB / 431.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3999, allocations: 168.4 kB / 431.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3999, allocations: 1.406 kB / 431.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.4, allocations: 10.41 kB / 431.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4, allocations: 1.062 kB / 431.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4, allocations: 4.812 kB / 431.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4, allocations: 6.844 kB / 431.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4, allocations: 1.375 kB / 431.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.4002, allocations: 169.4 kB / 432 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.4002, allocations: 98.48 kB / 432.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4002, allocations: 1.938 kB / 432.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.4003, allocations: 6.844 kB / 432.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.4003, allocations: 3.75 kB / 432.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.4003, allocations: 3.156 kB / 432.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.583e-05/0.4004, allocations: 109.8 kB / 432.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4004, allocations: 3.5 kB / 432.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.4007, allocations: 5.688 kB / 432.2 MB, free: 10.31 MB / 350.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 9.654e-05/0.4008, allocations: 97.77 kB / 432.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.4009, allocations: 36.77 kB / 432.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4009, allocations: 1.781 kB / 432.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.401, allocations: 13.72 kB / 432.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4014, allocations: 22.78 kB / 432.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.4017, allocations: 166.5 kB / 432.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.4019, allocations: 0.6916 MB / 433.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.414e-05/0.4019, allocations: 5.516 kB / 433.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.4019, allocations: 10.8 kB / 433.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4019, allocations: 0 / 433.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of Templates: time 0.003086/0.405, allocations: 0.5397 MB / 433.8 MB, free: 9.367 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.013814479112625]