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.001451/0.001451, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001102, allocations: 67.5 kB / 306.3 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09545, allocations: 50.54 MB / 356.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003558/0.09906, allocations: 2.41 MB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1001, allocations: 0.6428 MB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1003, allocations: 7.938 kB / 359.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1004, allocations: 23.78 kB / 359.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.1006, allocations: 71.45 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1008, allocations: 59.94 kB / 360 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.101, allocations: 262.7 kB / 360.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.1012, allocations: 91.28 kB / 360.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1014, allocations: 107.6 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1016, allocations: 111.4 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.1016, allocations: 16 kB / 360.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.1017, allocations: 16 kB / 360.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.1017, allocations: 43.84 kB / 360.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1019, allocations: 111.4 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.1021, allocations: 263.3 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1021, allocations: 0 / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1021, allocations: 3.984 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1022, allocations: 0 / 361 MB, free: 10.29 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.0007765/0.1029, allocations: 0.5262 MB / 361.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.103, allocations: 12.03 kB / 361.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.1031, allocations: 28.66 kB / 361.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1034, allocations: 245.2 kB / 361.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1034, allocations: 20.81 kB / 361.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.1035, allocations: 28.36 kB / 361.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.1039, allocations: 199.5 kB / 362.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1039, allocations: 4 kB / 362.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.1039, allocations: 8 kB / 362.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1039, allocations: 4 kB / 362.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.1042, allocations: 137.7 kB / 362.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.1052, allocations: 0.6345 MB / 362.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.1055, allocations: 178.6 kB / 363 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.1057, allocations: 108.8 kB / 363.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.1057, allocations: 4 kB / 363.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1058, allocations: 30.56 kB / 363.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 3.667e-06/0.1058, allocations: 0 / 363.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001937/0.1077, allocations: 1.07 MB / 364.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.1078, allocations: 59.34 kB / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.1079, allocations: 186.2 kB / 364.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.108, allocations: 33.7 kB / 364.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.1081, allocations: 140.6 kB / 364.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.1081, allocations: 106.4 kB / 364.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.1082, allocations: 57.7 kB / 364.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1083, allocations: 334.8 kB / 365.1 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1085, allocations: 71.72 kB / 365.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.1087, allocations: 102.8 kB / 365.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.109, allocations: 201 kB / 365.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.109, allocations: 0 / 365.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004784/0.1095, allocations: 291.1 kB / 365.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1095, allocations: 4 kB / 365.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1095, allocations: 0 / 365.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.1097, allocations: 48.89 kB / 365.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.1099, allocations: 55.91 kB / 365.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.1113, allocations: 1.573 MB / 367.5 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.1114, allocations: 11.98 kB / 367.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1114, allocations: 8 kB / 367.5 MB, free: 3.348 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.0001197/0.1115, allocations: 139.1 kB / 367.6 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.1116, allocations: 23.72 kB / 367.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.1117, allocations: 34.59 kB / 367.7 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1117, allocations: 7.984 kB / 367.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1117, allocations: 4.062 kB / 367.7 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1117, allocations: 0 / 367.7 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.1128, allocations: 0.7781 MB / 368.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1128, allocations: 0 / 368.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.1131, allocations: 67.84 kB / 368.5 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.1132, allocations: 32.83 kB / 368.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1132, allocations: 8 kB / 368.6 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.1143, allocations: 1.383 MB / 369.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1143, allocations: 0 / 369.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006758/0.115, allocations: 486.4 kB / 370.4 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.115, allocations: 96.83 kB / 370.5 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.1151, allocations: 15.97 kB / 370.5 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.1152, allocations: 8 kB / 370.5 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1511/0.2664, allocations: 25.06 kB / 370.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.2664, allocations: 11.05 kB / 370.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.2666, allocations: 131.2 kB / 370.7 MB, free: 19.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2666, allocations: 0 / 370.7 MB, free: 19.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006145/0.2673, allocations: 68.34 kB / 370.8 MB, free: 19.97 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.0001461/0.2674, allocations: 106.8 kB / 370.9 MB, free: 19.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006797/0.2681, allocations: 340 kB / 371.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2681, allocations: 0 / 371.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.2685, allocations: 238.9 kB / 371.4 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.269, allocations: 48.22 kB / 371.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2704, allocations: 0.8187 MB / 372.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.2706, allocations: 0.763 MB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.2708, allocations: 26.11 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.2708, allocations: 20.97 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2709, allocations: 0 / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of Templates: time 0.006605/0.2775, allocations: 2.52 MB / 375.6 MB, free: 18.39 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