Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 204.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 230.5 MB / 257.4 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.95 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 83.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2991, allocations: 66.09 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01244/0.3116, allocations: 9.021 MB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008225/0.3198, allocations: 3.602 MB / 0.573 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.3212, allocations: 71.62 kB / 0.5731 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004008/0.3252, allocations: 1.908 MB / 0.575 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.3294, allocations: 1.681 MB / 0.5766 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3309, allocations: 0.6082 MB / 0.5772 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00437/0.3352, allocations: 3.368 MB / 0.5805 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.3381, allocations: 2.11 MB / 0.5825 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.3401, allocations: 1.254 MB / 0.5838 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002609/0.3427, allocations: 1.724 MB / 0.5855 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00064/0.3433, allocations: 252 kB / 0.5857 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.3453, allocations: 0.9205 MB / 0.5866 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.3471, allocations: 1.601 MB / 0.5882 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002138/0.3492, allocations: 1.335 MB / 0.5895 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00716/0.3564, allocations: 5.836 MB / 0.5952 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3564, allocations: 0 / 0.5952 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3564, allocations: 3.938 kB / 0.5952 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001532/0.3566, allocations: 0 / 0.5952 GB, free: 0.5469 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.008624/0.3652, allocations: 4.046 MB / 0.5991 GB, free: 12.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3652, allocations: 8.031 kB / 0.5991 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009386/0.3662, allocations: 0.6121 MB / 0.5997 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006304/0.3725, allocations: 1.804 MB / 0.6015 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005126/0.3776, allocations: 2.11 MB / 0.6035 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.3778, allocations: 193 kB / 0.6037 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006181/0.3784, allocations: 251.8 kB / 0.604 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.3941, allocations: 8.501 MB / 0.6123 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.3943, allocations: 39.67 kB / 0.6123 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004726/0.3948, allocations: 127.9 kB / 0.6124 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002845/0.3976, allocations: 1.699 MB / 0.6141 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.4111, allocations: 7.086 MB / 0.621 GB, free: 5.266 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04141/0.4525, allocations: 32.8 MB / 0.653 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007207/0.4597, allocations: 2.727 MB / 0.6557 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/0.4617, allocations: 1.357 MB / 0.657 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006243/0.4679, allocations: 3.364 MB / 0.6603 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.468, allocations: 43.22 kB / 0.6604 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.977e-06/0.468, allocations: 0 / 0.6604 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.02799/0.496, allocations: 11.58 MB / 0.6717 GB, free: 220 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.4961, allocations: 170.8 kB / 0.6718 GB, free: 12 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005398/0.5015, allocations: 3.935 MB / 0.6757 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/0.5017, allocations: 45.98 kB / 0.6757 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002284/0.504, allocations: 2.858 MB / 0.6785 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007606/0.5048, allocations: 0.5389 MB / 0.679 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001528/0.5063, allocations: 1.095 MB / 0.6801 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5064, allocations: 309.1 kB / 0.6804 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.5092, allocations: 1.701 MB / 0.6821 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00584/0.515, allocations: 5.144 MB / 0.6871 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009379/0.5244, allocations: 7.406 MB / 0.6943 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/0.5245, allocations: 36 kB / 0.6943 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01237/0.5368, allocations: 6.715 MB / 0.7009 GB, free: 14.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/0.5369, allocations: 63.88 kB / 0.701 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/0.5371, allocations: 124 kB / 0.7011 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.5377, allocations: 325.5 kB / 0.7014 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003848/0.5416, allocations: 1.236 MB / 0.7026 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.5445, allocations: 2.382 MB / 0.7049 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/0.5484, allocations: 291.6 kB / 0.7052 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007831/0.5492, allocations: 336 kB / 0.7055 GB, free: 9.879 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.003021/0.5522, allocations: 1.795 MB / 0.7073 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006244/0.5528, allocations: 325.8 kB / 0.7076 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004713/0.5575, allocations: 2.355 MB / 0.7099 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/0.5576, allocations: 16 kB / 0.7099 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.5576, allocations: 4 kB / 0.7099 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.5576, allocations: 11.97 kB / 0.7099 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.5687, allocations: 5.644 MB / 0.7154 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5688, allocations: 3.938 kB / 0.7154 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.5696, allocations: 175.8 kB / 0.7156 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/0.5717, allocations: 0.7069 MB / 0.7163 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.5718, allocations: 27.98 kB / 0.7163 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006262/0.5781, allocations: 4.667 MB / 0.7209 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5781, allocations: 0 / 0.7209 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00703/0.5851, allocations: 4.358 MB / 0.7251 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/0.5859, allocations: 301.7 kB / 0.7254 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/0.5863, allocations: 16 kB / 0.7254 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.5873, allocations: 75.84 kB / 0.7255 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.5875, allocations: 76.5 kB / 0.7256 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.5876, allocations: 36 kB / 0.7256 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003424/0.591, allocations: 2.319 MB / 0.7279 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.591, allocations: 0 / 0.7279 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003759/0.5947, allocations: 0.8046 MB / 0.7287 GB, free: 1.957 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.2329/0.8276, allocations: 4.97 MB / 0.7335 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004942/0.8325, allocations: 3.896 MB / 0.7373 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.8325, allocations: 0 / 0.7373 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.8337, allocations: 1.035 MB / 0.7383 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.8357, allocations: 390.2 kB / 0.7387 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03715/0.8729, allocations: 37.78 MB / 0.7756 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001994/0.8749, allocations: 2.235 MB / 0.7778 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002759/0.8776, allocations: 1.66 MB / 0.7794 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/0.879, allocations: 1.522 MB / 0.7809 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.879, allocations: 0 / 0.7809 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08546/0.9645, allocations: 58.1 MB / 0.8376 GB, free: 52.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/17.23, allocations: 7.859 kB / 0.8376 GB, free: 52.2 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 20.179375014267862]