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.001419/0.001419, allocations: 115 kB / 18.46 MB, free: 4.621 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.001492/0.001492, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.542/1.542, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.001601/0.001601, allocations: 51.92 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1444, allocations: 53.33 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00335/0.1477, allocations: 1.595 MB / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1489, allocations: 0.5415 MB / 429.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.149, allocations: 4 kB / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.748e-05/0.1491, allocations: 3.938 kB / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1493, allocations: 11.86 kB / 429.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.1496, allocations: 51.83 kB / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1498, allocations: 51.83 kB / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1499, allocations: 8 kB / 429.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.15, allocations: 35.86 kB / 429.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.1501, allocations: 23.84 kB / 429.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1501, allocations: 4 kB / 429.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.1501, allocations: 8 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.1502, allocations: 15.92 kB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.1503, allocations: 23.81 kB / 429.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1504, allocations: 55.73 kB / 429.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1505, allocations: 0 / 429.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1505, allocations: 4 kB / 429.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1505, allocations: 0 / 429.9 MB, free: 1.836 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.0006187/0.1511, allocations: 387 kB / 430.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1511, allocations: 8.031 kB / 430.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.1513, allocations: 20.84 kB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1516, allocations: 200.1 kB / 430.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1516, allocations: 4.375 kB / 430.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1516, allocations: 8.375 kB / 430.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.152, allocations: 121.3 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.152, allocations: 0 / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.152, allocations: 0 / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.152, allocations: 0 / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.086e-05/0.1521, allocations: 27.92 kB / 430.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.1525, allocations: 265.8 kB / 430.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1528, allocations: 134.2 kB / 431.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.243e-05/0.1529, allocations: 33.77 kB / 431.1 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1529, allocations: 0 / 431.1 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1529, allocations: 38.55 kB / 431.1 MB, free: 416 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.1529, allocations: 0 / 431.1 MB, free: 416 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002816/0.1532, allocations: 85.55 kB / 431.2 MB, free: 324 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.1533, allocations: 81.23 kB / 431.3 MB, free: 224 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1534, allocations: 147.8 kB / 431.5 MB, free: 64 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1534, allocations: 25.7 kB / 431.5 MB, free: 32 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.1535, allocations: 84.14 kB / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.1536, allocations: 7.953 kB / 431.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.1536, allocations: 17.72 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1537, allocations: 318.8 kB / 431.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.1538, allocations: 4 kB / 431.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.688e-05/0.1538, allocations: 39.42 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.1539, allocations: 51.3 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1539, allocations: 4 kB / 432 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001434/0.1541, allocations: 73.56 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1541, allocations: 4 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1541, allocations: 4 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1541, allocations: 4 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.1542, allocations: 11.98 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1542, allocations: 3.938 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.1543, allocations: 8.062 kB / 432.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1543, allocations: 4 kB / 432.1 MB, free: 15.36 MB / 366.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 0.0001004/0.1544, allocations: 117.8 kB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.1544, allocations: 49.64 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.1545, allocations: 12.25 kB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1545, allocations: 3.984 kB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1545, allocations: 4 kB / 432.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1545, allocations: 3.938 kB / 432.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1547, allocations: 169.6 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1547, allocations: 0 / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.1547, allocations: 19.92 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1547, allocations: 0 / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1548, allocations: 4 kB / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1548, allocations: 0 / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1548, allocations: 0 / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.155, allocations: 172.3 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.155, allocations: 96.98 kB / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1551, allocations: 4 kB / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.1551, allocations: 0 / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.1552, allocations: 4 kB / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1552, allocations: 4 kB / 432.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.577e-05/0.1552, allocations: 109.1 kB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1552, allocations: 0 / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1555, allocations: 4 kB / 432.9 MB, free: 14.48 MB / 366.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 0.0001497/0.1556, allocations: 103.7 kB / 433 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1558, allocations: 31.97 kB / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1558, allocations: 0 / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.1558, allocations: 11.94 kB / 433 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1562, allocations: 25.98 kB / 433 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.1566, allocations: 198 kB / 433.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1569, allocations: 0.6908 MB / 433.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.157, allocations: 15.42 kB / 433.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.157, allocations: 0 / 433.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Templates: time 0.00297/0.16, allocations: 0.7748 MB / 434.7 MB, free: 12.57 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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: 7.365208459988935]