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.003138/0.003138, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.002488/0.002488, allocations: 185.2 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.687/2.687, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.002463/0.002463, allocations: 51.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1933, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.006397/0.1997, allocations: 2.35 MB / 378.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.2017, allocations: 0.6278 MB / 378.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.202, allocations: 11.94 kB / 378.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.2024, allocations: 35.66 kB / 378.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.2028, allocations: 63.34 kB / 378.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.2032, allocations: 55.92 kB / 378.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.2038, allocations: 258.8 kB / 379.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.2041, allocations: 96.27 kB / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.2044, allocations: 95.66 kB / 379.4 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.2047, allocations: 111.5 kB / 379.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.2047, allocations: 16 kB / 379.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.805e-05/0.2048, allocations: 20 kB / 379.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.2049, allocations: 47.78 kB / 379.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.205, allocations: 115.4 kB / 379.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.2054, allocations: 247.1 kB / 379.9 MB, free: 440 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.2054, allocations: 8 kB / 379.9 MB, free: 432 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2054, allocations: 0 / 379.9 MB, free: 432 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.2055, allocations: 0 / 379.9 MB, free: 432 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.3787/0.5842, allocations: 0.4989 MB / 380.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.487e-05/0.5843, allocations: 12.64 kB / 380.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.5844, allocations: 25.41 kB / 380.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.5849, allocations: 246 kB / 380.7 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.5849, allocations: 16.53 kB / 380.7 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.271e-05/0.585, allocations: 25.56 kB / 380.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.5856, allocations: 208.9 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.5857, allocations: 1.938 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.5857, allocations: 14.17 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.5857, allocations: 9.344 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.5862, allocations: 124.2 kB / 381.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.5877, allocations: 0.703 MB / 381.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.5881, allocations: 148.8 kB / 382 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.5883, allocations: 68.56 kB / 382 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.5884, allocations: 4.203 kB / 382 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.5884, allocations: 37.02 kB / 382.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.835e-06/0.5884, allocations: 1.078 kB / 382.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.006796/0.5952, allocations: 0.8824 MB / 382.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.5954, allocations: 58.84 kB / 383 MB, free: 11.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.5961, allocations: 174.4 kB / 383.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/0.5962, allocations: 34.33 kB / 383.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.5965, allocations: 142.1 kB / 383.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.5967, allocations: 83.36 kB / 383.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.5969, allocations: 51.11 kB / 383.5 MB, free: 11.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5971, allocations: 328.9 kB / 383.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.5974, allocations: 57.69 kB / 383.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.5978, allocations: 99.44 kB / 383.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.5984, allocations: 171.9 kB / 384.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.5985, allocations: 1.531 kB / 384.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001122/0.5996, allocations: 254 kB / 384.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.5997, allocations: 5.156 kB / 384.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/0.5997, allocations: 2.25 kB / 384.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.6001, allocations: 41.09 kB / 384.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.6005, allocations: 49.33 kB / 384.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.6022, allocations: 1.479 MB / 385.9 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.6024, allocations: 8.734 kB / 385.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.6025, allocations: 15 kB / 386 MB, free: 9.332 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.00021/0.6027, allocations: 135.7 kB / 386.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.6028, allocations: 20.62 kB / 386.1 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.6028, allocations: 22.73 kB / 386.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.6028, allocations: 5.156 kB / 386.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.6029, allocations: 5 kB / 386.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.6029, allocations: 0.7031 kB / 386.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.6042, allocations: 0.6487 MB / 386.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6042, allocations: 1.094 kB / 386.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.6045, allocations: 49.56 kB / 386.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.6047, allocations: 35.34 kB / 386.9 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.6047, allocations: 12.02 kB / 386.9 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.6058, allocations: 1.476 MB / 388.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6059, allocations: 2.531 kB / 388.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.6066, allocations: 407.2 kB / 388.8 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.6067, allocations: 96.14 kB / 388.9 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.6067, allocations: 7.906 kB / 388.9 MB, free: 6.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.6069, allocations: 7.781 kB / 388.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.607, allocations: 19.25 kB / 388.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.6071, allocations: 4.875 kB / 388.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.6072, allocations: 132.9 kB / 389 MB, free: 6.742 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6073, allocations: 1.5 kB / 389 MB, free: 6.742 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005726/0.6078, allocations: 58.14 kB / 389.1 MB, free: 6.734 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 0.0002001/0.608, allocations: 113.4 kB / 389.2 MB, free: 6.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008508/0.6089, allocations: 297.1 kB / 389.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6089, allocations: 0 / 389.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.6094, allocations: 217.1 kB / 389.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.6101, allocations: 40.52 kB / 389.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.612, allocations: 0.7009 MB / 390.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.6123, allocations: 0.753 MB / 391.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.6124, allocations: 21.08 kB / 391.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6124, allocations: 0 / 391.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of Templates: time 0.01752/0.63, allocations: 3.5 MB / 394.7 MB, free: 4.789 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/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