Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001286/0.001286, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001442/0.001442, allocations: 213.2 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2085/0.2085, allocations: 44.26 MB / 330.4 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 68.47 kB / 467.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1133, allocations: 61.05 MB / 0.5162 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01138/0.1247, allocations: 9.065 MB / 0.525 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007395/0.1321, allocations: 3.601 MB / 0.5285 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.1334, allocations: 75.62 kB / 0.5286 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003807/0.1372, allocations: 1.896 MB / 0.5305 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.142, allocations: 1.716 MB / 0.5321 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.1437, allocations: 0.6082 MB / 0.5327 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004748/0.1485, allocations: 3.35 MB / 0.536 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/0.1513, allocations: 2.118 MB / 0.5381 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2039/0.3552, allocations: 1.269 MB / 0.5393 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.3582, allocations: 1.731 MB / 0.541 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008416/0.3591, allocations: 254.3 kB / 0.5412 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.3612, allocations: 0.9242 MB / 0.5421 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.3628, allocations: 1.619 MB / 0.5437 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.3644, allocations: 1.359 MB / 0.545 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007355/0.3718, allocations: 5.9 MB / 0.5508 GB, free: 10.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3718, allocations: 0 / 0.5508 GB, free: 10.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3718, allocations: 0 / 0.5508 GB, free: 10.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000222/0.372, allocations: 1.562 kB / 0.5508 GB, free: 10.28 MB / 414.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.009586/0.3816, allocations: 4.075 MB / 0.5548 GB, free: 8.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3816, allocations: 9.812 kB / 0.5548 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.3827, allocations: 0.6066 MB / 0.5554 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006263/0.3889, allocations: 1.805 MB / 0.5572 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006226/0.3952, allocations: 2.388 MB / 0.5595 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.3954, allocations: 194.9 kB / 0.5597 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.3968, allocations: 252.7 kB / 0.5599 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.4129, allocations: 8.482 MB / 0.5682 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.413, allocations: 40.83 kB / 0.5682 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003738/0.4134, allocations: 127.2 kB / 0.5684 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002592/0.416, allocations: 1.696 MB / 0.57 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.4286, allocations: 7.087 MB / 0.5769 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0445/0.4731, allocations: 32.82 MB / 0.609 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007335/0.4805, allocations: 2.722 MB / 0.6116 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.4825, allocations: 1.369 MB / 0.613 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00721/0.4897, allocations: 3.348 MB / 0.6162 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.4898, allocations: 50.97 kB / 0.6163 GB, free: 9.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 3.617e-06/0.4898, allocations: 0 / 0.6163 GB, free: 9.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.0303/0.5201, allocations: 11.6 MB / 0.6276 GB, free: 14.35 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.5202, allocations: 162.9 kB / 0.6278 GB, free: 14.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005849/0.5261, allocations: 3.96 MB / 0.6316 GB, free: 10.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002458/0.5263, allocations: 49.7 kB / 0.6317 GB, free: 10.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002358/0.5287, allocations: 2.872 MB / 0.6345 GB, free: 7.289 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000734/0.5294, allocations: 0.5412 MB / 0.635 GB, free: 6.754 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/0.531, allocations: 1.084 MB / 0.6361 GB, free: 5.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5311, allocations: 305.1 kB / 0.6364 GB, free: 5.359 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/0.5337, allocations: 1.701 MB / 0.638 GB, free: 3.656 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005414/0.5391, allocations: 5.135 MB / 0.643 GB, free: 12.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009149/0.5483, allocations: 7.398 MB / 0.6503 GB, free: 4.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.83e-05/0.5484, allocations: 36 kB / 0.6503 GB, free: 4.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.0118/0.5602, allocations: 6.713 MB / 0.6569 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/0.5602, allocations: 63.69 kB / 0.6569 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/0.5604, allocations: 124 kB / 0.657 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/0.561, allocations: 320.3 kB / 0.6573 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003735/0.5648, allocations: 1.24 MB / 0.6586 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/0.5677, allocations: 2.379 MB / 0.6609 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/0.5713, allocations: 291.6 kB / 0.6612 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005811/0.5719, allocations: 337 kB / 0.6615 GB, free: 8.539 MB / 0.4981 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.003048/0.5749, allocations: 1.788 MB / 0.6632 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006033/0.5755, allocations: 329.8 kB / 0.6635 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004792/0.5803, allocations: 2.357 MB / 0.6658 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/0.5804, allocations: 16 kB / 0.6659 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.5804, allocations: 8 kB / 0.6659 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.5804, allocations: 3.984 kB / 0.6659 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.5927, allocations: 5.644 MB / 0.6714 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.5927, allocations: 0.6875 kB / 0.6714 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008303/0.5935, allocations: 175.8 kB / 0.6715 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.5958, allocations: 0.7152 MB / 0.6722 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.5959, allocations: 22.5 kB / 0.6723 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006523/0.6024, allocations: 4.676 MB / 0.6768 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.6024, allocations: 11.95 kB / 0.6768 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007364/0.6098, allocations: 4.331 MB / 0.6811 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/0.6114, allocations: 481.5 kB / 0.6815 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003874/0.6118, allocations: 20 kB / 0.6816 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.6128, allocations: 71.84 kB / 0.6816 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.613, allocations: 75.5 kB / 0.6817 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.603e-05/0.6131, allocations: 36 kB / 0.6817 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003806/0.6169, allocations: 2.339 MB / 0.684 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6169, allocations: 0 / 0.684 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00457/0.6215, allocations: 0.8124 MB / 0.6848 GB, free: 484 kB / 0.5137 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.007621/0.6291, allocations: 4.967 MB / 0.6897 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006801/0.6359, allocations: 3.88 MB / 0.6934 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6359, allocations: 3.938 kB / 0.6935 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.6375, allocations: 1.041 MB / 0.6945 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.64, allocations: 381.9 kB / 0.6948 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05925/0.6993, allocations: 37.87 MB / 0.7318 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003475/0.7028, allocations: 2.241 MB / 0.734 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003814/0.7066, allocations: 1.652 MB / 0.7356 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002482/0.7091, allocations: 1.53 MB / 0.7371 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/0.7091, allocations: 4 kB / 0.7371 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.306/1.015, allocations: 58.35 MB / 0.7941 GB, free: 208.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.34/17.36, allocations: 9.453 kB / 0.7941 GB, free: 208.8 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.266574955079705]