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.001477/0.001477, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001922/0.001922, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001512/0.001512, allocations: 47.92 kB / 378.9 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2425, allocations: 53.37 MB / 432.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003192/0.2457, allocations: 1.852 MB / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008461/0.2465, allocations: 466.8 kB / 434.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.2466, allocations: 0 / 434.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.2467, allocations: 11.81 kB / 434.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.671e-05/0.2468, allocations: 23.78 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.2469, allocations: 35.95 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.2471, allocations: 107.6 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2472, allocations: 37.11 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/0.2473, allocations: 43.86 kB / 434.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.2474, allocations: 55.75 kB / 434.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.2474, allocations: 8 kB / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.2474, allocations: 8 kB / 434.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.2475, allocations: 15.88 kB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.2475, allocations: 39.86 kB / 435 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.2477, allocations: 102.5 kB / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2477, allocations: 0 / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2477, allocations: 0 / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2477, allocations: 0 / 435.1 MB, free: 3.871 MB / 334.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.0005582/0.2483, allocations: 330.2 kB / 435.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2483, allocations: 12.03 kB / 435.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.2483, allocations: 12.89 kB / 435.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.2486, allocations: 138.3 kB / 435.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.2486, allocations: 8.562 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.2486, allocations: 16.33 kB / 435.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.2489, allocations: 111.3 kB / 435.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2489, allocations: 4 kB / 435.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2489, allocations: 4 kB / 435.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2489, allocations: 0 / 435.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.2492, allocations: 79.88 kB / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.2498, allocations: 419.6 kB / 436.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.25, allocations: 78.53 kB / 436.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.2501, allocations: 40.78 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.2501, allocations: 0 / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.2502, allocations: 42.55 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.2502, allocations: 0 / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004045/0.2506, allocations: 121.7 kB / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2506, allocations: 51.41 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2507, allocations: 133.7 kB / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.2507, allocations: 29.7 kB / 436.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.2508, allocations: 111.9 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.2509, allocations: 27.78 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.2509, allocations: 33.67 kB / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2511, allocations: 318.8 kB / 437.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.2512, allocations: 39.91 kB / 437.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.2513, allocations: 75.83 kB / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.2515, allocations: 104.1 kB / 437.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2515, allocations: 3.938 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002924/0.2518, allocations: 137.5 kB / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2518, allocations: 4 kB / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2518, allocations: 4 kB / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2519, allocations: 0 / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.252, allocations: 36.03 kB / 437.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.252, allocations: 8 kB / 437.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.2521, allocations: 7.984 kB / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2521, allocations: 7.984 kB / 437.6 MB, free: 1.16 MB / 334.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.0001004/0.2522, allocations: 125.8 kB / 437.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.2523, allocations: 3.953 kB / 437.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.2523, allocations: 12.38 kB / 437.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2523, allocations: 0 / 437.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2523, allocations: 0 / 437.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2523, allocations: 0 / 437.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2525, allocations: 153.1 kB / 437.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2525, allocations: 0 / 437.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.2526, allocations: 23.92 kB / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2526, allocations: 0 / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2526, allocations: 4 kB / 437.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2526, allocations: 0 / 437.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2526, allocations: 3.984 kB / 437.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.2531, allocations: 231.4 kB / 438.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.2531, allocations: 11.95 kB / 438.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.2531, allocations: 0 / 438.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.2532, allocations: 8.031 kB / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2532, allocations: 4 kB / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.2532, allocations: 4.094 kB / 438.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.861e-05/0.2533, allocations: 103.1 kB / 438.3 MB, free: 436 kB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2533, allocations: 0 / 438.3 MB, free: 436 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.2535, allocations: 20 kB / 438.3 MB, free: 416 kB / 334.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 9.641e-05/0.2536, allocations: 99.23 kB / 438.4 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.2539, allocations: 79.89 kB / 438.5 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.2539, allocations: 0 / 438.5 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.254, allocations: 39.89 kB / 438.5 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.2543, allocations: 31.8 kB / 438.5 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.2551, allocations: 385.9 kB / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.264e-05/0.2552, allocations: 88.14 kB / 439 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.2552, allocations: 11.44 kB / 439 MB, free: 15.62 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2552, allocations: 0 / 439 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Templates: time 0.003002/0.2582, allocations: 1.342 MB / 440.4 MB, free: 14.29 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/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: 7.026187123992713]