Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.001943/0.001943, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002645/0.002645, allocations: 217 kB / 24.5 MB, free: 4.133 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.485/1.485, allocations: 230.5 MB / 258.1 MB, free: 8.027 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.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 55.91 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2509, allocations: 53.41 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003935/0.2548, allocations: 2.097 MB / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.256, allocations: 0.5492 MB / 435.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.2562, allocations: 7.938 kB / 435.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.2563, allocations: 15.8 kB / 435.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.2564, allocations: 23.78 kB / 435.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.2567, allocations: 55.88 kB / 435.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.257, allocations: 131.5 kB / 435.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.2571, allocations: 45.98 kB / 435.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.2573, allocations: 55.78 kB / 435.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2574, allocations: 55.72 kB / 435.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.2574, allocations: 8 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.66e-05/0.2574, allocations: 12 kB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.2574, allocations: 27.91 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.2575, allocations: 63.66 kB / 435.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.2578, allocations: 124.7 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2578, allocations: 3.984 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2578, allocations: 3.938 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2578, allocations: 4 kB / 435.7 MB, free: 3.484 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006628/0.2584, allocations: 357.7 kB / 436 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2585, allocations: 8.031 kB / 436 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.2585, allocations: 20.78 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.2588, allocations: 154.3 kB / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2588, allocations: 8.375 kB / 436.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.2589, allocations: 16.38 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.2594, allocations: 235.6 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.2594, allocations: 0 / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2594, allocations: 8 kB / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2594, allocations: 4 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.2597, allocations: 83.81 kB / 436.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.2604, allocations: 0.5427 MB / 437.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.2608, allocations: 139.9 kB / 437.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.261, allocations: 70.62 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.261, allocations: 8 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2611, allocations: 34.5 kB / 437.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.2611, allocations: 0 / 437.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005607/0.2616, allocations: 189.3 kB / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/0.2617, allocations: 110.8 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2618, allocations: 136.9 kB / 437.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2619, allocations: 29.7 kB / 437.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.2619, allocations: 116 kB / 437.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.262, allocations: 27.78 kB / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.262, allocations: 33.72 kB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2622, allocations: 331.3 kB / 438.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.2623, allocations: 35.97 kB / 438.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2625, allocations: 145.2 kB / 438.5 MB, free: 408 kB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = PI.y_start (0.0 = PI.y_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.2629, allocations: 204.8 kB / 438.7 MB, free: 156 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2629, allocations: 7.875 kB / 438.7 MB, free: 148 kB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004372/0.2634, allocations: 201.1 kB / 438.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2634, allocations: 8 kB / 438.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2634, allocations: 4 kB / 438.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.2634, allocations: 7.984 kB / 438.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.2636, allocations: 48.39 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2636, allocations: 11.98 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.2637, allocations: 23.88 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.2637, allocations: 8 kB / 439 MB, free: 15.83 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: PI.y = PI.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001406/0.2639, allocations: 129.7 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.2641, allocations: 93.56 kB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.2641, allocations: 16.72 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.2641, allocations: 4 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2641, allocations: 8 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2641, allocations: 0 / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.2645, allocations: 184.5 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.2645, allocations: 7.984 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.2647, allocations: 39.97 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2647, allocations: 0 / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.2647, allocations: 8 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2647, allocations: 3.938 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2647, allocations: 0 / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.2653, allocations: 385.9 kB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.2653, allocations: 11.92 kB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.2654, allocations: 4 kB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2655, allocations: 11.98 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2655, allocations: 4.062 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.2656, allocations: 7.984 kB / 439.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.034e-05/0.2656, allocations: 106 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2656, allocations: 0 / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003406/0.266, allocations: 31.89 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001259/0.2661, allocations: 103.2 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.2665, allocations: 130.8 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2665, allocations: 3.938 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.97e-05/0.2666, allocations: 23.98 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.2671, allocations: 76.61 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/0.2681, allocations: 440.2 kB / 440.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.2685, allocations: 0.7162 MB / 441.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.2685, allocations: 19.44 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2685, allocations: 0 / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Templates: time 0.004063/0.2726, allocations: 1.626 MB / 443.2 MB, free: 11.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.16523390612565]