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.001382/0.001382, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001196/0.001196, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.305/1.305, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 47.2 kB / 300.6 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09313, allocations: 49.44 MB / 350 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003645/0.09681, allocations: 2.345 MB / 352.4 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.09793, allocations: 0.5843 MB / 353 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.09813, allocations: 4 kB / 353 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.0983, allocations: 31.66 kB / 353 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.09851, allocations: 75.34 kB / 353.1 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.09872, allocations: 55.86 kB / 353.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.09901, allocations: 250.9 kB / 353.4 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.09921, allocations: 80.34 kB / 353.5 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.09937, allocations: 107.5 kB / 353.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.09952, allocations: 107.5 kB / 353.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.09956, allocations: 20 kB / 353.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.936e-05/0.09961, allocations: 24 kB / 353.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.09966, allocations: 39.84 kB / 353.8 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.09976, allocations: 115.4 kB / 353.9 MB, free: 500 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1, allocations: 243.3 kB / 354.1 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1, allocations: 0 / 354.1 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1, allocations: 0 / 354.1 MB, free: 256 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1, allocations: 0 / 354.1 MB, free: 256 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006612/0.1007, allocations: 0.5184 MB / 354.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1007, allocations: 11.89 kB / 354.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.1008, allocations: 24.66 kB / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.101, allocations: 237.8 kB / 354.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1011, allocations: 12.81 kB / 354.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.1011, allocations: 24.38 kB / 354.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.1015, allocations: 214.1 kB / 355.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1015, allocations: 3.906 kB / 355.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1015, allocations: 12 kB / 355.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1015, allocations: 8 kB / 355.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.1018, allocations: 125.7 kB / 355.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009385/0.1027, allocations: 0.7054 MB / 356 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.103, allocations: 150.4 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1031, allocations: 68.83 kB / 356.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.1031, allocations: 0 / 356.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1032, allocations: 42.56 kB / 356.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.1032, allocations: 0 / 356.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001603/0.1048, allocations: 0.886 MB / 357.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.1048, allocations: 51.41 kB / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.105, allocations: 183.2 kB / 357.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.105, allocations: 25.7 kB / 357.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.1051, allocations: 148.2 kB / 357.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.1052, allocations: 90.67 kB / 357.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.1053, allocations: 49.7 kB / 357.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1054, allocations: 330.8 kB / 358 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1055, allocations: 59.92 kB / 358 MB, free: 11.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.1057, allocations: 100.2 kB / 358.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.106, allocations: 164.2 kB / 358.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.106, allocations: 4 kB / 358.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004373/0.1064, allocations: 257.9 kB / 358.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1064, allocations: 4 kB / 358.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1065, allocations: 4 kB / 358.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.1066, allocations: 32.97 kB / 358.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.1069, allocations: 51.91 kB / 358.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.1082, allocations: 1.481 MB / 360.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1083, allocations: 8.031 kB / 360.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1083, allocations: 8 kB / 360.1 MB, free: 9.707 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.0001204/0.1085, allocations: 145.8 kB / 360.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.1085, allocations: 15.81 kB / 360.3 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.1086, allocations: 21.88 kB / 360.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1086, allocations: 3.938 kB / 360.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1086, allocations: 4 kB / 360.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1086, allocations: 3.984 kB / 360.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009578/0.1096, allocations: 0.6481 MB / 361 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1096, allocations: 0 / 361 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.1098, allocations: 39.92 kB / 361 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.1099, allocations: 40.89 kB / 361.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1099, allocations: 4 kB / 361.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.1112, allocations: 1.492 MB / 362.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1113, allocations: 0 / 362.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.1118, allocations: 413.7 kB / 363 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.1119, allocations: 88.97 kB / 363.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1119, allocations: 11.98 kB / 363.1 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1121, allocations: 7.938 kB / 363.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.1121, allocations: 19.92 kB / 363.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1122, allocations: 7.984 kB / 363.1 MB, free: 6.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.654e-05/0.1123, allocations: 132.8 kB / 363.2 MB, free: 6.363 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1123, allocations: 4 kB / 363.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.1126, allocations: 56 kB / 363.3 MB, free: 6.305 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.0001171/0.1127, allocations: 111.1 kB / 363.4 MB, free: 6.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.1134, allocations: 302.3 kB / 363.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1134, allocations: 4.25 kB / 363.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003865/0.1138, allocations: 210.5 kB / 363.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.1144, allocations: 47.86 kB / 364 MB, free: 5.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1157, allocations: 0.6823 MB / 364.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.116, allocations: 0.7443 MB / 365.4 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.571e-05/0.1161, allocations: 25.92 kB / 365.4 MB, free: 4.094 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.1162, allocations: 19.44 kB / 365.4 MB, free: 4.074 MB / 302.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1162, allocations: 0 / 365.4 MB, free: 4.074 MB / 302.1 MB Notification: Performance of Templates: time 0.006129/0.1223, allocations: 2.359 MB / 367.8 MB, free: 1.734 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/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