Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.92 MB / 358.8 MB, free: 6.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3702, allocations: 65.47 MB / 0.557 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01922/0.3895, allocations: 10.32 MB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.4018, allocations: 3.836 MB / 0.5709 GB, free: 9.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.4042, allocations: 71.62 kB / 0.5709 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006188/0.4104, allocations: 1.974 MB / 0.5728 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006841/0.4172, allocations: 1.677 MB / 0.5745 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.4199, allocations: 0.6121 MB / 0.5751 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008234/0.4281, allocations: 3.368 MB / 0.5784 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005129/0.4332, allocations: 2.133 MB / 0.5805 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003542/0.4368, allocations: 1.254 MB / 0.5817 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005133/0.4419, allocations: 1.814 MB / 0.5835 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.4433, allocations: 256 kB / 0.5837 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.4472, allocations: 1.053 MB / 0.5847 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00319/0.4504, allocations: 1.601 MB / 0.5863 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00376/0.4542, allocations: 1.817 MB / 0.5881 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.4668, allocations: 5.812 MB / 0.5937 GB, free: 2.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.4668, allocations: 0 / 0.5937 GB, free: 2.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4668, allocations: 4 kB / 0.5937 GB, free: 2.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002097/0.467, allocations: 4 kB / 0.5937 GB, free: 2.098 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01602/0.483, allocations: 4.046 MB / 0.5977 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.4831, allocations: 8.031 kB / 0.5977 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001615/0.4847, allocations: 0.6043 MB / 0.5983 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4955, allocations: 1.808 MB / 0.6001 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007625/0.5032, allocations: 2.103 MB / 0.6021 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.5034, allocations: 193 kB / 0.6023 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.5046, allocations: 255.8 kB / 0.6025 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.5284, allocations: 8.447 MB / 0.6108 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.5285, allocations: 39.69 kB / 0.6108 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007621/0.5293, allocations: 123.9 kB / 0.6109 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004281/0.5336, allocations: 1.699 MB / 0.6126 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/0.5568, allocations: 7.117 MB / 0.6196 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0681/0.6249, allocations: 33.96 MB / 0.6527 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/0.6373, allocations: 2.741 MB / 0.6554 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.6406, allocations: 1.359 MB / 0.6567 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.6528, allocations: 3.692 MB / 0.6603 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.404e-05/0.6529, allocations: 51.14 kB / 0.6604 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 6.522e-06/0.6529, allocations: 0 / 0.6604 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.04868/0.7016, allocations: 11.52 MB / 0.6716 GB, free: 372 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/0.7018, allocations: 170.9 kB / 0.6718 GB, free: 164 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/0.712, allocations: 3.73 MB / 0.6754 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003867/0.7124, allocations: 45.7 kB / 0.6755 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004028/0.7164, allocations: 2.866 MB / 0.6783 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.7177, allocations: 0.539 MB / 0.6788 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002814/0.7205, allocations: 1.084 MB / 0.6799 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.7207, allocations: 309 kB / 0.6802 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004671/0.7254, allocations: 1.701 MB / 0.6818 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009428/0.7348, allocations: 5.123 MB / 0.6868 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01493/0.7497, allocations: 7.413 MB / 0.6941 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001873/0.7499, allocations: 32 kB / 0.6941 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.02248/0.7724, allocations: 6.72 MB / 0.7007 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.7725, allocations: 59.94 kB / 0.7007 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002626/0.7728, allocations: 120 kB / 0.7008 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009843/0.7738, allocations: 317.1 kB / 0.7011 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006885/0.7807, allocations: 1.244 MB / 0.7023 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004755/0.7854, allocations: 2.401 MB / 0.7047 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007092/0.7925, allocations: 291.6 kB / 0.705 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/0.7938, allocations: 336 kB / 0.7053 GB, free: 10.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005245/0.7991, allocations: 1.787 MB / 0.707 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.8001, allocations: 325.8 kB / 0.7073 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007925/0.808, allocations: 2.367 MB / 0.7097 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.165e-05/0.8081, allocations: 16 kB / 0.7097 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.8081, allocations: 4 kB / 0.7097 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/0.8081, allocations: 3.984 kB / 0.7097 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/0.8269, allocations: 5.886 MB / 0.7154 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/0.8269, allocations: 7.875 kB / 0.7154 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/0.8279, allocations: 183.8 kB / 0.7156 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/0.8301, allocations: 0.7069 MB / 0.7163 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.8304, allocations: 20 kB / 0.7163 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006938/0.8373, allocations: 4.719 MB / 0.7209 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.8373, allocations: 4.031 kB / 0.7209 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008078/0.8454, allocations: 4.347 MB / 0.7252 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.8465, allocations: 309.7 kB / 0.7255 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005211/0.847, allocations: 16 kB / 0.7255 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.8482, allocations: 71.91 kB / 0.7256 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.8484, allocations: 80.45 kB / 0.7256 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.8485, allocations: 35.98 kB / 0.7257 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004395/0.8529, allocations: 2.327 MB / 0.7279 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8529, allocations: 0 / 0.7279 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005646/0.8585, allocations: 0.7968 MB / 0.7287 GB, free: 2.031 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2804/1.139, allocations: 4.977 MB / 0.7336 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00589/1.145, allocations: 3.887 MB / 0.7374 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.145, allocations: 0 / 0.7374 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/1.146, allocations: 1.04 MB / 0.7384 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/1.149, allocations: 382.9 kB / 0.7388 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04667/1.195, allocations: 37.79 MB / 0.7757 GB, free: 119 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/1.198, allocations: 2.783 MB / 0.7784 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003339/1.202, allocations: 1.66 MB / 0.78 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002083/1.204, allocations: 1.519 MB / 0.7815 GB, free: 113 MB / 0.5606 GB Notification: Performance of SimCode: time 2.013e-06/1.204, allocations: 0 / 0.7815 GB, free: 113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.313, allocations: 62.36 MB / 0.8424 GB, free: 51.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.82/27.13, allocations: 2.922 kB / 0.8424 GB, free: 51.04 MB / 0.5606 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 30.23950764899928]