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.00123/0.00123, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00169/0.00292, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001125/0.001125, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002585, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9859/0.9859, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.115/1.101, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 1.323e-06/1.323e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.109e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.005671/0.005692, allocations: 1.967 MB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006437/0.006336, allocations: 498.4 kB / 247.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.006407, allocations: 8 kB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.939e-05/0.006467, allocations: 15.8 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.006529, allocations: 19.8 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.08e-05/0.00662, allocations: 27.95 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.006757, allocations: 111.5 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.006857, allocations: 26.23 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.006961, allocations: 71.81 kB / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.007031, allocations: 31.89 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.007056, allocations: 8 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.007071, allocations: 12 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.007092, allocations: 15.94 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.007127, allocations: 23.94 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.00726, allocations: 67.7 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.007275, allocations: 0 / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007276, allocations: 0 / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.007291, allocations: 0 / 247.9 MB, free: 10.77 MB / 250.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.0004317/0.007723, allocations: 328.4 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.007753, allocations: 8.625 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.00779, allocations: 12.94 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.007929, allocations: 137.6 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.007941, allocations: 4.562 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.007966, allocations: 16.36 kB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.008111, allocations: 112.7 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.008121, allocations: 0 / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.00813, allocations: 4 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.008136, allocations: 4 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.071e-05/0.008187, allocations: 27.23 kB / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.01169, allocations: 381 kB / 248.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.863e-05/0.01179, allocations: 50.48 kB / 248.9 MB, free: 9.605 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.01181, allocations: 16.86 kB / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.01182, allocations: 0 / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.01185, allocations: 38.5 kB / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.01185, allocations: 0 / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001299/0.01198, allocations: 61.66 kB / 249.1 MB, free: 9.473 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.012, allocations: 51.41 kB / 249.1 MB, free: 9.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.01208, allocations: 134.2 kB / 249.2 MB, free: 9.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.01209, allocations: 29.7 kB / 249.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.01213, allocations: 112.1 kB / 249.4 MB, free: 9.121 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.01216, allocations: 39.61 kB / 249.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.0122, allocations: 25.7 kB / 249.4 MB, free: 9.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.01228, allocations: 318.8 kB / 249.7 MB, free: 8.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.0123, allocations: 11.98 kB / 249.8 MB, free: 8.719 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/0.01233, allocations: 40.28 kB / 249.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.0124, allocations: 68.19 kB / 249.9 MB, free: 8.582 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01241, allocations: 4 kB / 249.9 MB, free: 8.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001005/0.01251, allocations: 77.55 kB / 249.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.01252, allocations: 7.938 kB / 250 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01253, allocations: 4 kB / 250 MB, free: 8.484 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.01254, allocations: 3.984 kB / 250 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.01271, allocations: 35.92 kB / 250 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.01272, allocations: 4 kB / 250 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.01276, allocations: 16.02 kB / 250 MB, free: 8.426 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.01277, allocations: 11.98 kB / 250 MB, free: 8.414 MB / 250.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.965e-05/0.01284, allocations: 109.8 kB / 250.1 MB, free: 8.297 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.01286, allocations: 7.938 kB / 250.1 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.01289, allocations: 12.44 kB / 250.2 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01289, allocations: 3.984 kB / 250.2 MB, free: 8.273 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01289, allocations: 3.938 kB / 250.2 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.0129, allocations: 0 / 250.2 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.013, allocations: 85.86 kB / 250.2 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.013, allocations: 0 / 250.2 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.589e-05/0.0131, allocations: 31.98 kB / 250.3 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.01311, allocations: 11.89 kB / 250.3 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.01311, allocations: 0 / 250.3 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.01312, allocations: 0 / 250.3 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.01312, allocations: 0 / 250.3 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01312, allocations: 0 / 250.3 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.01325, allocations: 167.5 kB / 250.5 MB, free: 7.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.01326, allocations: 7.875 kB / 250.5 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.01332, allocations: 4 kB / 250.5 MB, free: 7.934 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.01335, allocations: 7.984 kB / 250.5 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.01335, allocations: 4 kB / 250.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.187e-05/0.01337, allocations: 28.77 kB / 250.5 MB, free: 7.891 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01337, allocations: 0 / 250.5 MB, free: 7.891 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.01356, allocations: 27.89 kB / 250.5 MB, free: 7.863 MB / 250.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.409e-05/0.01363, allocations: 76.42 kB / 250.6 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.447e-05/0.01372, allocations: 40.78 kB / 250.6 MB, free: 7.738 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.01372, allocations: 0 / 250.6 MB, free: 7.738 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.01375, allocations: 32.77 kB / 250.7 MB, free: 7.703 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.01395, allocations: 32.45 kB / 250.7 MB, free: 7.672 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.01897, allocations: 272.7 kB / 251 MB, free: 7.375 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.01901, allocations: 63.34 kB / 251 MB, free: 7.293 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.541e-05/0.01906, allocations: 12.48 kB / 251 MB, free: 7.281 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.01913, allocations: 63.38 kB / 251.1 MB, free: 7.219 MB / 250.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01913, allocations: 0 / 251.1 MB, free: 7.219 MB / 250.7 MB Notification: Performance of Templates: time 0.006132/0.02527, allocations: 1.203 MB / 252.3 MB, free: 6.043 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.471922716125846]