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.001824/0.001824, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.00247/0.00247, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.552/1.552, allocations: 230.2 MB / 255.2 MB, free: 15.39 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.001932/0.001932, allocations: 63.91 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1348, allocations: 53.32 MB / 427.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003327/0.1381, allocations: 1.7 MB / 429.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004867/0.1386, allocations: 163.4 kB / 429.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.976e-05/0.1387, allocations: 0 / 429.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.339e-05/0.1387, allocations: 7.938 kB / 429.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.1389, allocations: 23.84 kB / 429.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1391, allocations: 35.91 kB / 429.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1393, allocations: 63.77 kB / 429.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1394, allocations: 19.98 kB / 429.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.1395, allocations: 23.88 kB / 429.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.1395, allocations: 23.86 kB / 429.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1395, allocations: 4 kB / 429.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.1396, allocations: 4 kB / 429.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.1396, allocations: 23.91 kB / 429.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.1397, allocations: 35.73 kB / 430 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1398, allocations: 67.66 kB / 430 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1398, allocations: 3.938 kB / 430 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1398, allocations: 0 / 430 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1398, allocations: 4 kB / 430 MB, free: 2.289 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.0006014/0.1404, allocations: 394.9 kB / 430.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1405, allocations: 12.02 kB / 430.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.1405, allocations: 12.89 kB / 430.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.1408, allocations: 194.5 kB / 430.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1408, allocations: 8.375 kB / 430.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.1409, allocations: 4.375 kB / 430.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.1412, allocations: 170.2 kB / 430.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1412, allocations: 4.188 kB / 430.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1413, allocations: 11.94 kB / 430.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1413, allocations: 0 / 430.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1414, allocations: 43.91 kB / 430.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.1418, allocations: 365.9 kB / 431.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.1421, allocations: 107.8 kB / 431.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1422, allocations: 70.59 kB / 431.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1423, allocations: 0 / 431.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1423, allocations: 38.56 kB / 431.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1423, allocations: 0 / 431.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003624/0.1427, allocations: 121.5 kB / 431.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/0.1427, allocations: 106.8 kB / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1429, allocations: 133.8 kB / 431.8 MB, free: 284 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1429, allocations: 33.7 kB / 431.8 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.143, allocations: 92.31 kB / 431.9 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.143, allocations: 11.95 kB / 431.9 MB, free: 136 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.1431, allocations: 29.66 kB / 432 MB, free: 100 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1432, allocations: 318.8 kB / 432.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.1433, allocations: 11.98 kB / 432.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.913e-05/0.1434, allocations: 71.72 kB / 432.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1435, allocations: 95.53 kB / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1435, allocations: 0 / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000205/0.1437, allocations: 105.8 kB / 432.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1438, allocations: 8 kB / 432.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1438, allocations: 4 kB / 432.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1438, allocations: 192 / 432.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.1439, allocations: 27.92 kB / 432.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.1439, allocations: 7.938 kB / 432.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.1439, allocations: 7.953 kB / 432.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1439, allocations: 4 kB / 432.6 MB, free: 15.38 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.0001303/0.1441, allocations: 129.7 kB / 432.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.1442, allocations: 77.78 kB / 432.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.1443, allocations: 24.64 kB / 432.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1443, allocations: 0 / 432.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1443, allocations: 0 / 432.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1443, allocations: 0 / 432.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.1445, allocations: 189.5 kB / 433 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1445, allocations: 0 / 433 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/0.1446, allocations: 23.92 kB / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1446, allocations: 0 / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1446, allocations: 4 kB / 433.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1446, allocations: 0 / 433.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1446, allocations: 4 kB / 433.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.145, allocations: 312.3 kB / 433.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.1451, allocations: 101 kB / 433.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1451, allocations: 3.938 kB / 433.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.1452, allocations: 8 kB / 433.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1453, allocations: 3.938 kB / 433.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1453, allocations: 11.98 kB / 433.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.973e-05/0.1454, allocations: 105.5 kB / 433.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1454, allocations: 0 / 433.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1456, allocations: 8 kB / 433.6 MB, free: 14.29 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.0001305/0.1458, allocations: 99.25 kB / 433.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.146, allocations: 67.84 kB / 433.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.146, allocations: 0 / 433.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.146, allocations: 15.98 kB / 433.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.1465, allocations: 39.94 kB / 433.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.1469, allocations: 234 kB / 434 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.1473, allocations: 0.7002 MB / 434.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.1474, allocations: 11.44 kB / 434.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1474, allocations: 0 / 434.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.002747/0.1501, allocations: 0.9196 MB / 435.7 MB, free: 12.14 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.260824352968484]