Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.00196/0.00196, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002916/0.002916, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.601/1.601, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 43.92 kB / 373.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1323, allocations: 53.33 MB / 426.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003812/0.1362, allocations: 1.895 MB / 428.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1372, allocations: 0.491 MB / 429.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.542e-05/0.1373, allocations: 4 kB / 429.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.1374, allocations: 7.875 kB / 429.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.1375, allocations: 27.72 kB / 429.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.1376, allocations: 31.97 kB / 429.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1378, allocations: 103.6 kB / 429.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.138, allocations: 33.39 kB / 429.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.1381, allocations: 43.83 kB / 429.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.002e-05/0.1382, allocations: 43.78 kB / 429.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1382, allocations: 8 kB / 429.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.1382, allocations: 8 kB / 429.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.1383, allocations: 23.92 kB / 429.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.1383, allocations: 35.81 kB / 429.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1385, allocations: 111.4 kB / 429.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1385, allocations: 4 kB / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1385, allocations: 0 / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1386, allocations: 0 / 429.6 MB, free: 1.469 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006774/0.1392, allocations: 411.2 kB / 430 MB, free: 1.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1393, allocations: 8.031 kB / 430 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.1393, allocations: 16.88 kB / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1396, allocations: 196.2 kB / 430.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1396, allocations: 4.562 kB / 430.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.1397, allocations: 16.36 kB / 430.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.14, allocations: 123.2 kB / 430.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.14, allocations: 0 / 430.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.14, allocations: 8 kB / 430.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.14, allocations: 0 / 430.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.1403, allocations: 71.88 kB / 430.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/0.1411, allocations: 0.5208 MB / 431 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1413, allocations: 74.59 kB / 431.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1414, allocations: 37 kB / 431.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.1414, allocations: 3.984 kB / 431.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1415, allocations: 38.56 kB / 431.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1415, allocations: 0 / 431.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004565/0.1419, allocations: 129.7 kB / 431.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.142, allocations: 51.41 kB / 431.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1421, allocations: 129.8 kB / 431.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1421, allocations: 29.7 kB / 431.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.1422, allocations: 112 kB / 431.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.1422, allocations: 31.73 kB / 431.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.1423, allocations: 25.72 kB / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1424, allocations: 322.8 kB / 432 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1425, allocations: 31.97 kB / 432 MB, free: 14.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1427, allocations: 72.2 kB / 432.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.1429, allocations: 100.1 kB / 432.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1429, allocations: 7.938 kB / 432.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003213/0.1433, allocations: 137.5 kB / 432.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1433, allocations: 4 kB / 432.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1433, allocations: 4 kB / 432.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1433, allocations: 0 / 432.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.1435, allocations: 31.97 kB / 432.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1435, allocations: 7.938 kB / 432.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.1436, allocations: 12.08 kB / 432.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1436, allocations: 8 kB / 432.4 MB, free: 14.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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.0001191/0.1437, allocations: 125.7 kB / 432.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1437, allocations: 7.953 kB / 432.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.1438, allocations: 12.38 kB / 432.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1438, allocations: 0 / 432.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1438, allocations: 0 / 432.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1438, allocations: 0 / 432.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.144, allocations: 205.5 kB / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.144, allocations: 0 / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.1442, allocations: 23.98 kB / 432.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.1442, allocations: 7.984 kB / 432.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1442, allocations: 4 kB / 432.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1442, allocations: 3.938 kB / 432.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1442, allocations: 0 / 432.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.1447, allocations: 235.3 kB / 433 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.1447, allocations: 89.09 kB / 433.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1448, allocations: 0 / 433.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.1448, allocations: 8 kB / 433.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.1449, allocations: 7.984 kB / 433.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1449, allocations: 0 / 433.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.371e-05/0.145, allocations: 97.23 kB / 433.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.145, allocations: 0 / 433.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1452, allocations: 27.94 kB / 433.2 MB, free: 13.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 (7): * Single equations (assignments): 7 * 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.0001235/0.1453, allocations: 99.72 kB / 433.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.1457, allocations: 87.89 kB / 433.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1457, allocations: 0 / 433.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1458, allocations: 35.92 kB / 433.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1462, allocations: 30.52 kB / 433.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.147, allocations: 343.7 kB / 433.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.1474, allocations: 0.708 MB / 434.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.414e-05/0.1474, allocations: 12.41 kB / 434.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.1475, allocations: 11.44 kB / 434.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1475, allocations: 0 / 434.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of Templates: time 0.004471/0.1519, allocations: 1.001 MB / 435.5 MB, free: 11.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.941905252635479]