Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 105.8 kB / 17.59 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 187.3 kB / 18.51 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.2 MB, free: 15.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.00117, allocations: 52.66 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.09932, allocations: 49.44 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003973/0.1033, allocations: 2.345 MB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1046, allocations: 0.5765 MB / 353.6 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1048, allocations: 4 kB / 353.6 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.105, allocations: 39.58 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1052, allocations: 75.33 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1054, allocations: 59.86 kB / 353.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.1058, allocations: 262.7 kB / 354.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.106, allocations: 110.7 kB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.1062, allocations: 107.6 kB / 354.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1063, allocations: 111.5 kB / 354.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.1064, allocations: 20 kB / 354.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.019e-05/0.1064, allocations: 20 kB / 354.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.1065, allocations: 47.84 kB / 354.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.1066, allocations: 127.3 kB / 354.6 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.1069, allocations: 259.3 kB / 354.9 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1069, allocations: 4 kB / 354.9 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1069, allocations: 4 kB / 354.9 MB, free: 252 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.107, allocations: 0 / 354.9 MB, free: 252 kB / 286.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.0007965/0.1078, allocations: 0.5184 MB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1078, allocations: 11.89 kB / 355.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.23e-05/0.1079, allocations: 32.66 kB / 355.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1082, allocations: 241.7 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1082, allocations: 16.81 kB / 355.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.1083, allocations: 28.28 kB / 355.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.1086, allocations: 195.6 kB / 355.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1087, allocations: 3.984 kB / 355.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.1087, allocations: 12 kB / 355.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1087, allocations: 4 kB / 355.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.109, allocations: 137.7 kB / 356.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.11, allocations: 0.6346 MB / 356.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.1103, allocations: 178.5 kB / 356.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.1105, allocations: 96.83 kB / 357 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1105, allocations: 4 kB / 357 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1105, allocations: 42.58 kB / 357 MB, free: 13.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/0.1105, allocations: 0 / 357 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002031/0.1126, allocations: 1.073 MB / 358.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1126, allocations: 55.34 kB / 358.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1128, allocations: 191.9 kB / 358.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1129, allocations: 29.7 kB / 358.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.113, allocations: 144.6 kB / 358.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1131, allocations: 110.3 kB / 358.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.1132, allocations: 57.69 kB / 358.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1133, allocations: 326.8 kB / 359 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.1135, allocations: 67.97 kB / 359 MB, free: 11.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1137, allocations: 115.2 kB / 359.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.114, allocations: 185.3 kB / 359.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.114, allocations: 0 / 359.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005008/0.1145, allocations: 306.2 kB / 359.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1145, allocations: 4 kB / 359.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1145, allocations: 4 kB / 359.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.1147, allocations: 40.83 kB / 359.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.115, allocations: 55.91 kB / 359.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.1166, allocations: 1.748 MB / 361.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1167, allocations: 12.06 kB / 361.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1168, allocations: 8 kB / 361.5 MB, free: 9.148 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.0001515/0.1169, allocations: 141.8 kB / 361.6 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.117, allocations: 23.75 kB / 361.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.117, allocations: 34.64 kB / 361.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.117, allocations: 0 / 361.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1171, allocations: 4 kB / 361.7 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1171, allocations: 7.984 kB / 361.7 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.1182, allocations: 0.7746 MB / 362.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1182, allocations: 0 / 362.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.1185, allocations: 59.91 kB / 362.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.1186, allocations: 32.84 kB / 362.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1186, allocations: 7.984 kB / 362.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.1198, allocations: 1.492 MB / 364.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1199, allocations: 4.031 kB / 364.1 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.1205, allocations: 494.4 kB / 364.6 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.1206, allocations: 97.02 kB / 364.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1206, allocations: 16.02 kB / 364.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1208, allocations: 8 kB / 364.7 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.1209, allocations: 15.97 kB / 364.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1209, allocations: 12 kB / 364.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.121, allocations: 131.2 kB / 364.8 MB, free: 5.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.121, allocations: 0 / 364.8 MB, free: 5.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.1214, allocations: 72 kB / 364.9 MB, free: 5.469 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.0001428/0.1216, allocations: 112.8 kB / 365 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000661/0.1222, allocations: 347.5 kB / 365.4 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.1222, allocations: 4 kB / 365.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.1226, allocations: 242.8 kB / 365.6 MB, free: 4.746 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.1231, allocations: 46.89 kB / 365.6 MB, free: 4.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1244, allocations: 0.747 MB / 366.4 MB, free: 3.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1247, allocations: 0.764 MB / 367.2 MB, free: 3.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.1248, allocations: 27.38 kB / 367.2 MB, free: 3.09 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1248, allocations: 0 / 367.2 MB, free: 3.09 MB / 302.1 MB Notification: Performance of Templates: time 0.1686/0.2934, allocations: 3.83 MB / 371 MB, free: 25 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches