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.0006987/0.0006987, allocations: 95.81 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009192/0.0009192, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.000262, allocations: 4 kB / 307.7 MB, free: 0.8672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 51.53 MB / 359.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002364/0.105, allocations: 2.044 MB / 361.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.106, allocations: 0.6389 MB / 361.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.1062, allocations: 8 kB / 361.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.1063, allocations: 23.78 kB / 362 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.1064, allocations: 63.47 kB / 362 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.1066, allocations: 63.88 kB / 362.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1069, allocations: 262.7 kB / 362.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.1071, allocations: 95.28 kB / 362.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1073, allocations: 95.53 kB / 362.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1074, allocations: 95.55 kB / 362.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1075, allocations: 11.94 kB / 362.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.1075, allocations: 20 kB / 362.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.1076, allocations: 31.84 kB / 362.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1077, allocations: 141 kB / 362.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.108, allocations: 255.2 kB / 363.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.108, allocations: 0 / 363.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.108, allocations: 4 kB / 363.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.108, allocations: 0 / 363.1 MB, free: 9.477 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.0006324/0.1086, allocations: 499 kB / 363.6 MB, free: 8.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1087, allocations: 8.031 kB / 363.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.1088, allocations: 44.64 kB / 363.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1091, allocations: 240.5 kB / 363.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1091, allocations: 16.81 kB / 363.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/0.1092, allocations: 28.36 kB / 363.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.1095, allocations: 191.6 kB / 364.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1096, allocations: 4 kB / 364.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.1096, allocations: 8 kB / 364.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.1096, allocations: 8 kB / 364.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.1099, allocations: 141.7 kB / 364.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008984/0.1108, allocations: 0.6424 MB / 364.9 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.1111, allocations: 174.5 kB / 365 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.1113, allocations: 112.7 kB / 365.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1113, allocations: 4 kB / 365.2 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1113, allocations: 34.56 kB / 365.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.1113, allocations: 0 / 365.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001788/0.1131, allocations: 1.081 MB / 366.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1132, allocations: 59.34 kB / 366.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1134, allocations: 186.2 kB / 366.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1134, allocations: 33.69 kB / 366.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.1135, allocations: 144.7 kB / 366.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/0.1136, allocations: 110.3 kB / 366.8 MB, free: 5.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.1136, allocations: 29.7 kB / 366.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1138, allocations: 334.8 kB / 367.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1139, allocations: 71.91 kB / 367.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1141, allocations: 114.6 kB / 367.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.1144, allocations: 193 kB / 367.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1144, allocations: 0 / 367.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004726/0.1149, allocations: 299.1 kB / 367.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1149, allocations: 8 kB / 367.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1149, allocations: 0 / 367.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.1151, allocations: 40.83 kB / 367.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.1153, allocations: 63.91 kB / 367.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.1166, allocations: 1.569 MB / 369.5 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1168, allocations: 12.03 kB / 369.5 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.1168, allocations: 12.06 kB / 369.5 MB, free: 2.559 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.0001278/0.1169, allocations: 154.6 kB / 369.7 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.117, allocations: 19.72 kB / 369.7 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.117, allocations: 30.59 kB / 369.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1171, allocations: 4 kB / 369.7 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1171, allocations: 0 / 369.7 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1171, allocations: 3.984 kB / 369.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1181, allocations: 0.7859 MB / 370.5 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1181, allocations: 4 kB / 370.5 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.1184, allocations: 59.84 kB / 370.6 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.1185, allocations: 36.83 kB / 370.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1185, allocations: 8 kB / 370.6 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1654/0.284, allocations: 1.376 MB / 372 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.284, allocations: 0.6562 kB / 372 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009299/0.2849, allocations: 486 kB / 372.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.285, allocations: 102.9 kB / 372.6 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.2851, allocations: 13.19 kB / 372.6 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2852, allocations: 9.047 kB / 372.6 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.2853, allocations: 28.59 kB / 372.6 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.2853, allocations: 13.55 kB / 372.6 MB, free: 18.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.2855, allocations: 135.7 kB / 372.8 MB, free: 17.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2855, allocations: 0 / 372.8 MB, free: 17.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.2859, allocations: 64 kB / 372.8 MB, free: 17.95 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.0001036/0.286, allocations: 109.3 kB / 372.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005788/0.2866, allocations: 342.4 kB / 373.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2866, allocations: 0 / 373.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.2869, allocations: 246.7 kB / 373.5 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.2874, allocations: 42.02 kB / 373.5 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.2887, allocations: 0.9083 MB / 374.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.2889, allocations: 0.7665 MB / 375.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.289, allocations: 23.08 kB / 375.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.2891, allocations: 24.53 kB / 375.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2891, allocations: 0 / 375.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of Templates: time 0.006737/0.2958, allocations: 2.487 MB / 377.8 MB, free: 16.27 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches