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.00136/0.00136, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 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.001459/0.001459, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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.497/1.497, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 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 0.002014/0.002014, allocations: 63.89 kB / 373.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1473, allocations: 53.32 MB / 427.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003577/0.1508, allocations: 1.7 MB / 428.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005302/0.1514, allocations: 171.4 kB / 429 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1515, allocations: 4 kB / 429 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.836e-05/0.1515, allocations: 3.938 kB / 429 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1517, allocations: 15.88 kB / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.152, allocations: 39.89 kB / 429.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1522, allocations: 55.78 kB / 429.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1523, allocations: 27.97 kB / 429.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.816e-05/0.1524, allocations: 23.86 kB / 429.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.1524, allocations: 27.8 kB / 429.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.1525, allocations: 4 kB / 429.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.1525, allocations: 8 kB / 429.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.1526, allocations: 19.92 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.1526, allocations: 31.8 kB / 429.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1528, allocations: 67.61 kB / 429.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1528, allocations: 0 / 429.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1528, allocations: 0 / 429.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1528, allocations: 4 kB / 429.4 MB, free: 2.242 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007083/0.1535, allocations: 398.9 kB / 429.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.1536, allocations: 12.03 kB / 429.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.1536, allocations: 12.89 kB / 429.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.154, allocations: 196.2 kB / 430 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.154, allocations: 384 / 430 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.154, allocations: 12.38 kB / 430 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.1544, allocations: 166.3 kB / 430.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1545, allocations: 4.172 kB / 430.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.1545, allocations: 3.938 kB / 430.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1545, allocations: 4 kB / 430.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.1546, allocations: 39.91 kB / 430.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.1551, allocations: 361.9 kB / 430.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.1554, allocations: 111.8 kB / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.1555, allocations: 58.62 kB / 430.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.753e-05/0.1556, allocations: 12.12 kB / 430.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1556, allocations: 34.56 kB / 430.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1556, allocations: 0 / 430.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003648/0.156, allocations: 117.8 kB / 430.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.951e-05/0.1561, allocations: 119.1 kB / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1562, allocations: 136 kB / 431.1 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.1563, allocations: 25.7 kB / 431.1 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.1564, allocations: 96.06 kB / 431.2 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1564, allocations: 7.953 kB / 431.2 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.1564, allocations: 25.67 kB / 431.3 MB, free: 64 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1566, allocations: 318.8 kB / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.1567, allocations: 23.98 kB / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.565e-05/0.1568, allocations: 67.66 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.1569, allocations: 95.53 kB / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1569, allocations: 8 kB / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.1571, allocations: 97.48 kB / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1571, allocations: 8 kB / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1572, allocations: 0 / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.1572, allocations: 11.92 kB / 431.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.1573, allocations: 16 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1573, allocations: 12.27 kB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.1573, allocations: 11.94 kB / 431.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1573, allocations: 8 kB / 431.9 MB, free: 15.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (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 prepare postOptimizeDAE: time 0.0001325/0.1575, allocations: 125.7 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.1576, allocations: 73.62 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.1577, allocations: 20.72 kB / 432.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1577, allocations: 7.938 kB / 432.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.1577, allocations: 3.984 kB / 432.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1577, allocations: 0 / 432.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.158, allocations: 185.5 kB / 432.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.158, allocations: 4 kB / 432.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.1581, allocations: 19.92 kB / 432.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.1581, allocations: 4 kB / 432.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1581, allocations: 4 kB / 432.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1581, allocations: 0 / 432.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.1581, allocations: 4 kB / 432.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.1585, allocations: 308.3 kB / 432.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/0.1586, allocations: 105 kB / 432.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.1587, allocations: 7.938 kB / 432.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.1588, allocations: 4 kB / 432.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1588, allocations: 0 / 432.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1588, allocations: 4 kB / 432.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1589, allocations: 111.2 kB / 432.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1589, allocations: 0 / 432.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1592, allocations: 12 kB / 432.9 MB, free: 14.23 MB / 366.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: 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.0001381/0.1593, allocations: 95.25 kB / 433 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1596, allocations: 64.62 kB / 433.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/0.1596, allocations: 8.062 kB / 433.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.1596, allocations: 7.984 kB / 433.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.1601, allocations: 56.94 kB / 433.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.1606, allocations: 191.6 kB / 433.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1609, allocations: 0.7002 MB / 434 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.161, allocations: 8.797 kB / 434 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.161, allocations: 11.44 kB / 434 MB, free: 13.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.161, allocations: 0 / 434 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Templates: time 0.004002/0.165, allocations: 0.7072 MB / 434.8 MB, free: 12.33 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] 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.911187309771776]