Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008318/0.0008318, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003678/0.003678, allocations: 150 kB / 24.68 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8326/0.8326, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 319.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.74e-05, allocations: 13.39 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002096/0.002124, allocations: 1.817 MB / 321.5 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005582/0.002682, allocations: 438.9 kB / 321.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.002759, allocations: 7.938 kB / 321.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.557e-05/0.002854, allocations: 11.86 kB / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.002906, allocations: 27.78 kB / 322 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.003039, allocations: 27.97 kB / 322 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.00317, allocations: 107.5 kB / 322.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.0033, allocations: 33.56 kB / 322.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.003381, allocations: 59.81 kB / 322.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.003439, allocations: 31.91 kB / 322.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.003464, allocations: 11.98 kB / 322.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.003477, allocations: 12 kB / 322.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.003496, allocations: 15.92 kB / 322.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.003529, allocations: 35.91 kB / 322.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.003667, allocations: 99.67 kB / 322.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.00367, allocations: 0 / 322.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003671, allocations: 0 / 322.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.003675, allocations: 3.938 kB / 322.4 MB, free: 3.117 MB / 282.7 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.0004052/0.00408, allocations: 337.4 kB / 322.7 MB, free: 2.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.004119, allocations: 8.922 kB / 322.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.00416, allocations: 20.84 kB / 322.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.004367, allocations: 133.6 kB / 322.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.004378, allocations: 12.56 kB / 322.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.004403, allocations: 12.38 kB / 322.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.004586, allocations: 115.2 kB / 323 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.004596, allocations: 3.938 kB / 323 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.004609, allocations: 11.94 kB / 323 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.004614, allocations: 0 / 323 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.004735, allocations: 75.89 kB / 323.1 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.005213, allocations: 435.6 kB / 323.5 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.005362, allocations: 78.53 kB / 323.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.005421, allocations: 36.84 kB / 323.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.00543, allocations: 0 / 323.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.005447, allocations: 34.5 kB / 323.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.005449, allocations: 0 / 323.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002373/0.005686, allocations: 133.9 kB / 323.8 MB, free: 1.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.005712, allocations: 51.41 kB / 323.9 MB, free: 1.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.005785, allocations: 129.8 kB / 324 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.005796, allocations: 25.7 kB / 324 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.005847, allocations: 111.9 kB / 324.1 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.005867, allocations: 35.73 kB / 324.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.005899, allocations: 21.72 kB / 324.2 MB, free: 1.164 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.005968, allocations: 322.8 kB / 324.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-05/0.006023, allocations: 31.97 kB / 324.5 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.006092, allocations: 72.27 kB / 324.6 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.006211, allocations: 96.2 kB / 324.7 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006213, allocations: 0 / 324.7 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001587/0.006371, allocations: 141.4 kB / 324.8 MB, free: 480 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.006384, allocations: 7.938 kB / 324.8 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.00639, allocations: 4.312 kB / 324.8 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.006401, allocations: 0 / 324.8 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.006502, allocations: 39.91 kB / 324.9 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.006509, allocations: 4.094 kB / 324.9 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.006547, allocations: 15.83 kB / 324.9 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.006554, allocations: 7.984 kB / 324.9 MB, free: 400 kB / 282.7 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 6.114e-05/0.006615, allocations: 126 kB / 325 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.006631, allocations: 15.83 kB / 325 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.006656, allocations: 12.44 kB / 325.1 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006659, allocations: 0 / 325.1 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.006663, allocations: 0 / 325.1 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006666, allocations: 0 / 325.1 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.006771, allocations: 133.3 kB / 325.2 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006772, allocations: 0 / 325.2 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.006847, allocations: 23.98 kB / 325.2 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006849, allocations: 0 / 325.2 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.006857, allocations: 7.938 kB / 325.2 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.00686, allocations: 4 kB / 325.2 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006861, allocations: 0 / 325.2 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.007116, allocations: 239.4 kB / 325.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.007126, allocations: 4 kB / 325.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.00714, allocations: 7.938 kB / 325.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.3e-05/0.007183, allocations: 4 kB / 325.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.007214, allocations: 3.984 kB / 325.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.007217, allocations: 4 kB / 325.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.865e-05/0.007256, allocations: 102.6 kB / 325.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007256, allocations: 0 / 325.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.007422, allocations: 31.89 kB / 325.6 MB, free: 15.63 MB / 298.7 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 7.111e-05/0.007494, allocations: 95.23 kB / 325.7 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.007642, allocations: 75.89 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007643, allocations: 256 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.0077, allocations: 43.91 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.007917, allocations: 19.11 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.008361, allocations: 331.2 kB / 326.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.17e-05/0.008413, allocations: 88.27 kB / 326.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.008443, allocations: 20.44 kB / 326.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008443, allocations: 4.188 kB / 326.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.001874/0.01032, allocations: 1.327 MB / 327.6 MB, free: 13.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 3.8936573015525937]