Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGrounded,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.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,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.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 112.8 kB / 17.69 MB, free: 5.309 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.001127/0.001126, allocations: 188 kB / 18.63 MB, free: 4.379 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.33/1.33, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 40.81 kB / 302 MB, free: 5.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09811, allocations: 49.45 MB / 351.5 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003872/0.102, allocations: 2.342 MB / 353.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1032, allocations: 0.5765 MB / 354.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.1034, allocations: 4 kB / 354.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1035, allocations: 35.59 kB / 354.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1038, allocations: 71.39 kB / 354.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.104, allocations: 51.88 kB / 354.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.1043, allocations: 262.8 kB / 354.8 MB, free: 384 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.1045, allocations: 84.83 kB / 354.9 MB, free: 292 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1047, allocations: 95.64 kB / 355 MB, free: 196 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1049, allocations: 107.5 kB / 355.1 MB, free: 88 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.1049, allocations: 16 kB / 355.1 MB, free: 72 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.669e-05/0.105, allocations: 20 kB / 355.2 MB, free: 52 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.105, allocations: 51.78 kB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1051, allocations: 123.4 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1054, allocations: 255 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1054, allocations: 0 / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1054, allocations: 4 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1054, allocations: 3.938 kB / 355.6 MB, free: 15.62 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000702/0.1061, allocations: 0.499 MB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1062, allocations: 11.89 kB / 356.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.1063, allocations: 32.66 kB / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.1066, allocations: 241.8 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1066, allocations: 16.81 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.1067, allocations: 24.31 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.107, allocations: 214.2 kB / 356.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.107, allocations: 3.906 kB / 356.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1071, allocations: 4 kB / 356.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1071, allocations: 8 kB / 356.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.1073, allocations: 129.7 kB / 356.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009903/0.1083, allocations: 0.6937 MB / 357.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1086, allocations: 154.5 kB / 357.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1087, allocations: 76.81 kB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1088, allocations: 0 / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1088, allocations: 34.56 kB / 357.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.1088, allocations: 0 / 357.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001525/0.1103, allocations: 0.897 MB / 358.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.1104, allocations: 51.41 kB / 358.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1105, allocations: 175.2 kB / 358.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1106, allocations: 29.7 kB / 358.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.1106, allocations: 148.2 kB / 359 MB, free: 11.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.1107, allocations: 78.77 kB / 359.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.1108, allocations: 49.7 kB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1109, allocations: 330.8 kB / 359.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.111, allocations: 59.97 kB / 359.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1112, allocations: 92.27 kB / 359.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.1114, allocations: 168.2 kB / 359.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1114, allocations: 0 / 359.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004252/0.1119, allocations: 258 kB / 360 MB, free: 10.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1119, allocations: 8 kB / 360 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1119, allocations: 0 / 360 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.1121, allocations: 40.77 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.1123, allocations: 47.92 kB / 360.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.1135, allocations: 1.481 MB / 361.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.1136, allocations: 12.02 kB / 361.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1137, allocations: 15.94 kB / 361.6 MB, free: 9.09 MB / 302.1 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.0001194/0.1138, allocations: 137.8 kB / 361.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.1138, allocations: 19.81 kB / 361.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.1139, allocations: 25.88 kB / 361.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.1139, allocations: 11.92 kB / 361.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1139, allocations: 0 / 361.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1139, allocations: 4 kB / 361.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/0.1148, allocations: 0.6534 MB / 362.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1148, allocations: 0 / 362.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.115, allocations: 47.97 kB / 362.5 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.1151, allocations: 28.84 kB / 362.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1152, allocations: 8 kB / 362.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.1163, allocations: 1.488 MB / 364 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1163, allocations: 144 / 364 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.1168, allocations: 410 kB / 364.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1169, allocations: 88.92 kB / 364.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1169, allocations: 11.94 kB / 364.5 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.117, allocations: 12 kB / 364.5 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.1171, allocations: 19.91 kB / 364.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1171, allocations: 8 kB / 364.6 MB, free: 5.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.323e-05/0.1172, allocations: 128.8 kB / 364.7 MB, free: 5.742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1172, allocations: 0 / 364.7 MB, free: 5.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.1175, allocations: 56 kB / 364.7 MB, free: 5.688 MB / 302.1 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.0001105/0.1177, allocations: 103.2 kB / 364.8 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.1182, allocations: 294.4 kB / 365.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1182, allocations: 0 / 365.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.1185, allocations: 210.6 kB / 365.3 MB, free: 5.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1189, allocations: 52.23 kB / 365.4 MB, free: 5.008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1201, allocations: 0.6702 MB / 366.1 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1204, allocations: 0.7482 MB / 366.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.439e-05/0.1204, allocations: 17.95 kB / 366.8 MB, free: 3.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.1205, allocations: 23.44 kB / 366.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1205, allocations: 0 / 366.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of Templates: time 0.005486/0.126, allocations: 2.369 MB / 369.2 MB, free: 1.133 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches