Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.75 kB / 306.9 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1044, allocations: 50.54 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004187/0.1086, allocations: 2.399 MB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1102, allocations: 0.6467 MB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.1105, allocations: 7.938 kB / 360.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.1108, allocations: 27.78 kB / 360.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.111, allocations: 67.47 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.1113, allocations: 59.94 kB / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.1117, allocations: 266.6 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.112, allocations: 91.28 kB / 361 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.1123, allocations: 103.6 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.1125, allocations: 111.5 kB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.1126, allocations: 19.94 kB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.1127, allocations: 16 kB / 361.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.1127, allocations: 47.83 kB / 361.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1129, allocations: 111.4 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.1131, allocations: 199.8 kB / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1132, allocations: 0 / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1132, allocations: 0 / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1132, allocations: 4 kB / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009085/0.1141, allocations: 0.5284 MB / 362.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1142, allocations: 8.031 kB / 362.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.1144, allocations: 36.64 kB / 362.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.1147, allocations: 245.2 kB / 362.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.1147, allocations: 12.81 kB / 362.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.1148, allocations: 24.38 kB / 362.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.1152, allocations: 203.5 kB / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1152, allocations: 3.984 kB / 362.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.1153, allocations: 12 kB / 362.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1153, allocations: 4 kB / 362.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.1156, allocations: 137.7 kB / 362.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.1167, allocations: 0.6267 MB / 363.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.117, allocations: 182.5 kB / 363.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1172, allocations: 106.9 kB / 363.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1173, allocations: 7.984 kB / 363.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1173, allocations: 38.55 kB / 363.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.724e-06/0.1173, allocations: 0 / 363.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002087/0.1194, allocations: 1.062 MB / 364.8 MB, free: 6.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1195, allocations: 55.34 kB / 364.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1197, allocations: 187.1 kB / 365 MB, free: 6.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.1197, allocations: 29.7 kB / 365.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.1198, allocations: 148.6 kB / 365.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.1199, allocations: 118.4 kB / 365.3 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.196e-05/0.12, allocations: 49.7 kB / 365.4 MB, free: 6.258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1201, allocations: 334.8 kB / 365.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1203, allocations: 71.72 kB / 365.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.1205, allocations: 98.81 kB / 365.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.1208, allocations: 201 kB / 366.1 MB, free: 5.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1208, allocations: 0 / 366.1 MB, free: 5.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005542/0.1214, allocations: 299 kB / 366.4 MB, free: 5.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1214, allocations: 8 kB / 366.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1214, allocations: 0 / 366.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.1217, allocations: 48.89 kB / 366.4 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.1219, allocations: 59.91 kB / 366.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.1235, allocations: 1.553 MB / 368 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1237, allocations: 16.03 kB / 368 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.1237, allocations: 4 kB / 368 MB, free: 3.414 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.1239, allocations: 147.1 kB / 368.2 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.124, allocations: 27.7 kB / 368.2 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.124, allocations: 30.59 kB / 368.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1241, allocations: 4.047 kB / 368.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.1241, allocations: 8 kB / 368.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1241, allocations: 3.984 kB / 368.3 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.1254, allocations: 0.782 MB / 369 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.1254, allocations: 192 / 369 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.1257, allocations: 67.78 kB / 369.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.1258, allocations: 36.84 kB / 369.1 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.1259, allocations: 7.984 kB / 369.2 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.127, allocations: 1.371 MB / 370.5 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.127, allocations: 8.016 kB / 370.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.1277, allocations: 478.5 kB / 371 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.1278, allocations: 100.8 kB / 371.1 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.1279, allocations: 8.234 kB / 371.1 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.128, allocations: 12 kB / 371.1 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.1281, allocations: 23.95 kB / 371.1 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1281, allocations: 15.97 kB / 371.2 MB, free: 32 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1865/0.3146, allocations: 126 kB / 371.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3146, allocations: 1.156 kB / 371.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006224/0.3153, allocations: 66.28 kB / 371.3 MB, free: 19.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001575/0.3154, allocations: 110.3 kB / 371.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007184/0.3162, allocations: 335.7 kB / 371.8 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3162, allocations: 0.5 kB / 371.8 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.3165, allocations: 240.4 kB / 372 MB, free: 19.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.3171, allocations: 42.2 kB / 372.1 MB, free: 19.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3185, allocations: 0.8523 MB / 372.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.3187, allocations: 0.7635 MB / 373.7 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.3188, allocations: 25.34 kB / 373.7 MB, free: 18.5 MB / 302.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3188, allocations: 0.6875 kB / 373.7 MB, free: 18.5 MB / 302.1 MB Notification: Performance of Templates: time 0.007028/0.3258, allocations: 3.855 MB / 377.6 MB, free: 18.2 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches