Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.0009785/0.0009785, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001823/0.001823, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.9905/0.9905, allocations: 177 MB / 204.8 MB, free: 5.621 MB / 186.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.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.458e-05, allocations: 9.203 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004/0.004035, allocations: 2.399 MB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.005291, allocations: 0.6386 MB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.005458, allocations: 7.938 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.005627, allocations: 31.66 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.005808, allocations: 83.28 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.006148, allocations: 67.83 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.00649, allocations: 270.6 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.00669, allocations: 52.55 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.007003, allocations: 167.5 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.007153, allocations: 79.78 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.007189, allocations: 19.94 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.007263, allocations: 24 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.007306, allocations: 39.83 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.007397, allocations: 83.77 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.007702, allocations: 179.4 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.007706, allocations: 0 / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007707, allocations: 0 / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.007713, allocations: 0 / 277 MB, free: 13.34 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007077/0.008421, allocations: 0.5351 MB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.008469, allocations: 19.92 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.008655, allocations: 48.8 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.008942, allocations: 192.8 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.008964, allocations: 16.88 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.009019, allocations: 24.38 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.009368, allocations: 189.7 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.00939, allocations: 8.141 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.00941, allocations: 4.375 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.009426, allocations: 7.938 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.009605, allocations: 78.88 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009716/0.01058, allocations: 0.6725 MB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.01082, allocations: 121.5 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.01091, allocations: 51.59 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.01093, allocations: 4 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.01096, allocations: 41.39 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.225e-06/0.01096, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001345/0.01231, allocations: 0.6392 MB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.01235, allocations: 55.41 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.01252, allocations: 229.9 kB / 279.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.01254, allocations: 25.7 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01265, allocations: 195.1 kB / 280.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.01271, allocations: 91.22 kB / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.01279, allocations: 51.36 kB / 280.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.01295, allocations: 0.5 MB / 280.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.01303, allocations: 31.97 kB / 280.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.01315, allocations: 90.34 kB / 280.9 MB, free: 9.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.01335, allocations: 138.4 kB / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01335, allocations: 0 / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003633/0.01371, allocations: 205 kB / 281.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.01374, allocations: 7.938 kB / 281.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.01374, allocations: 3.984 kB / 281.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.01392, allocations: 31.8 kB / 281.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.01413, allocations: 59.89 kB / 281.4 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.01539, allocations: 1.803 MB / 283.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.606e-05/0.01548, allocations: 8 kB / 283.2 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.0155, allocations: 12 kB / 283.2 MB, free: 6.742 MB / 266.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.01562, allocations: 180.3 kB / 283.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.01567, allocations: 31.89 kB / 283.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.01571, allocations: 25.95 kB / 283.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01571, allocations: 4 kB / 283.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01572, allocations: 0 / 283.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01572, allocations: 0 / 283.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.01648, allocations: 0.5735 MB / 284 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01648, allocations: 0 / 284 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.01667, allocations: 47.97 kB / 284 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.01679, allocations: 35.61 kB / 284.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.01681, allocations: 4.141 kB / 284.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.01794, allocations: 1.814 MB / 285.9 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01795, allocations: 0 / 285.9 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.0184, allocations: 388.5 kB / 286.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.01843, allocations: 19.84 kB / 286.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.01845, allocations: 11.94 kB / 286.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01855, allocations: 0 / 286.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.01861, allocations: 23.91 kB / 286.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.01862, allocations: 8 kB / 286.3 MB, free: 3.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.01872, allocations: 172.7 kB / 286.5 MB, free: 3.191 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01872, allocations: 0 / 286.5 MB, free: 3.191 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003651/0.01909, allocations: 60 kB / 286.6 MB, free: 3.133 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.01921, allocations: 99.25 kB / 286.6 MB, free: 3.027 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000473/0.01968, allocations: 312.8 kB / 287 MB, free: 2.703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01968, allocations: 0 / 287 MB, free: 2.703 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.01993, allocations: 262.1 kB / 287.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.02037, allocations: 48.28 kB / 287.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.0217, allocations: 0.5953 MB / 287.9 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.075e-05/0.02178, allocations: 84.31 kB / 287.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.224e-05/0.02185, allocations: 21.95 kB / 288 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.0219, allocations: 16.5 kB / 288 MB, free: 1.605 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0219, allocations: 0 / 288 MB, free: 1.605 MB / 266.7 MB Notification: Performance of Templates: time 0.006253/0.02816, allocations: 2.493 MB / 290.5 MB, free: 15.14 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.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.869565872941166]