Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001287/0.001287, allocations: 107 kB / 19.8 MB, free: 2.5 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.00149/0.00149, allocations: 217.7 kB / 23 MB, free: 5.574 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.533/1.533, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 71.88 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3455, allocations: 53.32 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003815/0.3493, allocations: 1.895 MB / 431.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3504, allocations: 498.7 kB / 432.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.3505, allocations: 4 kB / 432.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.3506, allocations: 19.73 kB / 432.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.3507, allocations: 23.78 kB / 432.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.3509, allocations: 31.97 kB / 432.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.3511, allocations: 107.6 kB / 432.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.3512, allocations: 29.39 kB / 432.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.3513, allocations: 31.92 kB / 432.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.3514, allocations: 51.77 kB / 432.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3514, allocations: 8 kB / 432.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.3514, allocations: 8 kB / 432.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.3515, allocations: 27.91 kB / 432.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.3515, allocations: 39.75 kB / 432.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3517, allocations: 104.8 kB / 432.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3517, allocations: 4 kB / 432.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3517, allocations: 0 / 432.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3517, allocations: 0 / 432.6 MB, free: 4.664 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.0006751/0.3524, allocations: 407.3 kB / 433 MB, free: 4.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3525, allocations: 8.031 kB / 433 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.3525, allocations: 12.89 kB / 433.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.3528, allocations: 200.1 kB / 433.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3529, allocations: 8.5 kB / 433.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.3529, allocations: 16.33 kB / 433.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.3532, allocations: 126.7 kB / 433.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3532, allocations: 0 / 433.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.3532, allocations: 8 kB / 433.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3532, allocations: 0 / 433.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.3535, allocations: 71.88 kB / 433.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.3542, allocations: 0.5249 MB / 434 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.3544, allocations: 78.53 kB / 434.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3545, allocations: 36.84 kB / 434.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3546, allocations: 0 / 434.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3546, allocations: 38.56 kB / 434.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3546, allocations: 3.938 kB / 434.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004126/0.355, allocations: 121.8 kB / 434.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.3551, allocations: 51.41 kB / 434.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3552, allocations: 133.7 kB / 434.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3552, allocations: 29.7 kB / 434.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.3553, allocations: 112 kB / 434.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3553, allocations: 31.73 kB / 434.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.3554, allocations: 25.72 kB / 434.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3555, allocations: 322.8 kB / 435 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3556, allocations: 31.98 kB / 435 MB, free: 2.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3557, allocations: 75.56 kB / 435.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.356, allocations: 96.2 kB / 435.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.356, allocations: 0 / 435.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002838/0.3563, allocations: 145.4 kB / 435.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3563, allocations: 4.094 kB / 435.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3563, allocations: 7.938 kB / 435.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3563, allocations: 3.984 kB / 435.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.3565, allocations: 31.97 kB / 435.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3565, allocations: 7.938 kB / 435.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.3566, allocations: 16.12 kB / 435.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3566, allocations: 4.312 kB / 435.4 MB, free: 1.652 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 9.306e-05/0.3567, allocations: 117.8 kB / 435.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.3567, allocations: 11.94 kB / 435.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.3567, allocations: 12.38 kB / 435.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3567, allocations: 0 / 435.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3567, allocations: 0 / 435.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3567, allocations: 0 / 435.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.357, allocations: 205.5 kB / 435.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.357, allocations: 0 / 435.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.3571, allocations: 27.98 kB / 435.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3571, allocations: 0 / 435.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3571, allocations: 7.938 kB / 435.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3571, allocations: 3.938 kB / 435.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3571, allocations: 0 / 435.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.3576, allocations: 239.3 kB / 436 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.3576, allocations: 89.09 kB / 436.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3576, allocations: 0 / 436.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.3577, allocations: 8 kB / 436.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.3578, allocations: 7.984 kB / 436.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.3578, allocations: 0 / 436.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.084e-05/0.3578, allocations: 102.2 kB / 436.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3578, allocations: 0 / 436.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.3581, allocations: 16 kB / 436.2 MB, free: 0.7266 MB / 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 0.0001167/0.3582, allocations: 103.2 kB / 436.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.3585, allocations: 79.88 kB / 436.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3585, allocations: 0 / 436.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.811e-05/0.3586, allocations: 27.98 kB / 436.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.3589, allocations: 32.3 kB / 436.4 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.3596, allocations: 363.6 kB / 436.8 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.36, allocations: 0.7002 MB / 437.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.821e-05/0.36, allocations: 12.42 kB / 437.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.3601, allocations: 11.44 kB / 437.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3601, allocations: 0 / 437.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Templates: time 0.003986/0.364, allocations: 1.021 MB / 438.5 MB, free: 14.33 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.591145217418671]