Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001546/0.001546, allocations: 112.6 kB / 17.73 MB, free: 5.203 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.00188/0.001881, allocations: 184.2 kB / 18.66 MB, free: 4.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 43.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1171, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003711/0.1208, allocations: 2.349 MB / 377.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1222, allocations: 0.6239 MB / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.1224, allocations: 7.938 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.1227, allocations: 35.66 kB / 378.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.1229, allocations: 71.33 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1232, allocations: 55.92 kB / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.1235, allocations: 254.8 kB / 378.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.1237, allocations: 96.28 kB / 378.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.1239, allocations: 95.64 kB / 378.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1241, allocations: 107.5 kB / 378.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.1242, allocations: 23.94 kB / 378.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.637e-05/0.1242, allocations: 20 kB / 378.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.1243, allocations: 43.84 kB / 378.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1244, allocations: 115.4 kB / 379 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.1248, allocations: 243 kB / 379.3 MB, free: 440 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1248, allocations: 0 / 379.3 MB, free: 440 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1248, allocations: 4 kB / 379.3 MB, free: 436 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1248, allocations: 0 / 379.3 MB, free: 436 kB / 318.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.2056/0.3304, allocations: 0.5116 MB / 379.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3305, allocations: 8.438 kB / 379.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.3306, allocations: 26.73 kB / 379.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.331, allocations: 249.5 kB / 380 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.331, allocations: 19.28 kB / 380.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.3311, allocations: 20.94 kB / 380.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.3315, allocations: 207.8 kB / 380.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3316, allocations: 1.938 kB / 380.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.3316, allocations: 11.88 kB / 380.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3316, allocations: 6.062 kB / 380.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.3319, allocations: 126.2 kB / 380.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/0.3329, allocations: 0.7047 MB / 381.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.3331, allocations: 148.2 kB / 381.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.3333, allocations: 75.16 kB / 381.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3333, allocations: 2.141 kB / 381.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.3334, allocations: 35.22 kB / 381.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.3334, allocations: 1.375 kB / 381.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001637/0.335, allocations: 0.882 MB / 382.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.335, allocations: 62.12 kB / 382.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.3352, allocations: 178.4 kB / 382.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3353, allocations: 30.86 kB / 382.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.3353, allocations: 146.2 kB / 382.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.3354, allocations: 93.94 kB / 382.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.3355, allocations: 46.11 kB / 382.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.3356, allocations: 329.4 kB / 383.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3357, allocations: 58.06 kB / 383.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.3359, allocations: 93.39 kB / 383.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.3362, allocations: 177.2 kB / 383.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3362, allocations: 1.406 kB / 383.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004217/0.3367, allocations: 251.4 kB / 383.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3367, allocations: 8.625 kB / 383.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3367, allocations: 1.75 kB / 383.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.3369, allocations: 36.41 kB / 383.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.3371, allocations: 50.86 kB / 383.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.3381, allocations: 1.484 MB / 385.3 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3383, allocations: 9.266 kB / 385.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.3383, allocations: 11.75 kB / 385.3 MB, free: 9.301 MB / 318.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.0001014/0.3384, allocations: 133.9 kB / 385.4 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.3385, allocations: 17.19 kB / 385.5 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.3385, allocations: 27.47 kB / 385.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3385, allocations: 4.828 kB / 385.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3385, allocations: 5.031 kB / 385.5 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3385, allocations: 1.594 kB / 385.5 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007973/0.3393, allocations: 0.6527 MB / 386.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3394, allocations: 0 / 386.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.3396, allocations: 42.88 kB / 386.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.3397, allocations: 36.86 kB / 386.2 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3397, allocations: 9.438 kB / 386.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008324/0.3406, allocations: 1.486 MB / 387.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3406, allocations: 64 / 387.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.3411, allocations: 410.4 kB / 388.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.3412, allocations: 91.5 kB / 388.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3412, allocations: 6.406 kB / 388.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3413, allocations: 12.89 kB / 388.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.3414, allocations: 17.47 kB / 388.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3414, allocations: 9.406 kB / 388.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.3415, allocations: 133.5 kB / 388.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3415, allocations: 0 / 388.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.3419, allocations: 58.03 kB / 388.4 MB, free: 6.699 MB / 318.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 9.927e-05/0.342, allocations: 107.8 kB / 388.5 MB, free: 6.598 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005195/0.3425, allocations: 306.1 kB / 388.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3425, allocations: 0 / 388.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.3428, allocations: 210.2 kB / 389.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3432, allocations: 45.12 kB / 389.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.3443, allocations: 0.6792 MB / 389.8 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.3445, allocations: 0.7463 MB / 390.5 MB, free: 5.109 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.023e-05/0.3446, allocations: 25.08 kB / 390.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.3447, allocations: 18.38 kB / 390.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3447, allocations: 0 / 390.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of Templates: time 0.00808/0.3527, allocations: 2.413 MB / 393 MB, free: 4.902 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches