Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001432/0.001432, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001617/0.001617, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2246/0.2246, allocations: 46.93 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.341, allocations: 66.02 MB / 0.5606 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01294/0.3539, allocations: 10.32 MB / 0.5707 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008222/0.3622, allocations: 3.835 MB / 0.5745 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.3637, allocations: 67.69 kB / 0.5745 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003971/0.3677, allocations: 1.978 MB / 0.5765 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.372, allocations: 1.681 MB / 0.5781 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.3736, allocations: 0.6159 MB / 0.5787 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005341/0.3789, allocations: 3.365 MB / 0.582 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.382, allocations: 2.122 MB / 0.5841 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.3843, allocations: 1.257 MB / 0.5853 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.3873, allocations: 1.826 MB / 0.5871 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007797/0.3881, allocations: 252 kB / 0.5873 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.3904, allocations: 1.045 MB / 0.5883 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.3924, allocations: 1.605 MB / 0.5899 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002347/0.3948, allocations: 1.817 MB / 0.5917 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007955/0.4027, allocations: 5.808 MB / 0.5974 GB, free: 14.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.4027, allocations: 4 kB / 0.5974 GB, free: 14.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4027, allocations: 0 / 0.5974 GB, free: 14.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002237/0.403, allocations: 4 kB / 0.5974 GB, free: 14.68 MB / 446.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.009162/0.4121, allocations: 4.046 MB / 0.6013 GB, free: 10.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.4122, allocations: 12.02 kB / 0.6013 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001011/0.4132, allocations: 0.6043 MB / 0.6019 GB, free: 9.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006387/0.4196, allocations: 1.8 MB / 0.6037 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005361/0.4249, allocations: 2.106 MB / 0.6057 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.4252, allocations: 189 kB / 0.6059 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.4262, allocations: 263.8 kB / 0.6062 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/0.443, allocations: 8.443 MB / 0.6144 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.4431, allocations: 35.75 kB / 0.6144 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006281/0.4438, allocations: 127.9 kB / 0.6146 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003185/0.4469, allocations: 1.699 MB / 0.6162 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.4618, allocations: 7.114 MB / 0.6232 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04682/0.5087, allocations: 33.96 MB / 0.6563 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007768/0.5164, allocations: 2.742 MB / 0.659 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.5186, allocations: 1.359 MB / 0.6603 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008176/0.5268, allocations: 3.692 MB / 0.664 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.734e-05/0.5269, allocations: 47.16 kB / 0.664 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.409e-06/0.5269, allocations: 0 / 0.664 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03192/0.5588, allocations: 11.51 MB / 0.6752 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.559, allocations: 170.8 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006493/0.5654, allocations: 3.734 MB / 0.6791 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003293/0.5658, allocations: 45.7 kB / 0.6791 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002673/0.5684, allocations: 2.866 MB / 0.6819 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008228/0.5693, allocations: 0.539 MB / 0.6824 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00183/0.5711, allocations: 1.084 MB / 0.6835 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5712, allocations: 305.1 kB / 0.6838 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/0.5743, allocations: 1.697 MB / 0.6854 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0064/0.5807, allocations: 5.123 MB / 0.6904 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009741/0.5904, allocations: 7.419 MB / 0.6977 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001368/0.5905, allocations: 40 kB / 0.6977 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01502/0.6056, allocations: 6.717 MB / 0.7043 GB, free: 11.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.6057, allocations: 59.98 kB / 0.7043 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/0.6058, allocations: 120 kB / 0.7044 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007602/0.6066, allocations: 325 kB / 0.7048 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004232/0.6108, allocations: 1.24 MB / 0.706 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.6139, allocations: 2.394 MB / 0.7083 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/0.6178, allocations: 291.7 kB / 0.7086 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009906/0.6188, allocations: 336 kB / 0.7089 GB, free: 6.84 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.003505/0.6223, allocations: 1.787 MB / 0.7106 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007006/0.623, allocations: 325.8 kB / 0.711 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005344/0.6283, allocations: 2.37 MB / 0.7133 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.166e-05/0.6284, allocations: 16 kB / 0.7133 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.6284, allocations: 4 kB / 0.7133 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/0.6284, allocations: 7.969 kB / 0.7133 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.6426, allocations: 5.886 MB / 0.719 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/0.6426, allocations: 4 kB / 0.719 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.6436, allocations: 179.8 kB / 0.7192 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/0.6461, allocations: 0.7146 MB / 0.7199 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/0.6463, allocations: 20 kB / 0.7199 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007241/0.6536, allocations: 4.711 MB / 0.7245 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6536, allocations: 4.031 kB / 0.7245 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/0.6615, allocations: 4.349 MB / 0.7288 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.6627, allocations: 305.7 kB / 0.7291 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007005/0.6634, allocations: 23.92 kB / 0.7291 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.6648, allocations: 71.95 kB / 0.7292 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.6651, allocations: 76.52 kB / 0.7292 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.6652, allocations: 32 kB / 0.7293 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2755/0.9407, allocations: 2.321 MB / 0.7315 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9407, allocations: 0.5 kB / 0.7315 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006119/0.9469, allocations: 0.7992 MB / 0.7323 GB, free: 152.9 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.007747/0.9546, allocations: 4.975 MB / 0.7372 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005967/0.9606, allocations: 3.888 MB / 0.741 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.9606, allocations: 3.688 kB / 0.741 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.962, allocations: 1.046 MB / 0.742 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/0.9649, allocations: 388.7 kB / 0.7424 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04957/1.014, allocations: 37.79 MB / 0.7793 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00422/1.019, allocations: 2.778 MB / 0.782 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003656/1.022, allocations: 1.664 MB / 0.7836 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002365/1.025, allocations: 1.522 MB / 0.7851 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/1.025, allocations: 0 / 0.7851 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.134, allocations: 62.33 MB / 0.846 GB, free: 44.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.76/27.9, allocations: 10.12 kB / 0.846 GB, free: 44.73 MB / 0.5606 GB " [Timeout remaining time 632] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.963475884003856]