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.000839/0.000839, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009274/0.0009274, allocations: 170 kB / 23.94 MB, free: 0.6211 MB / 18.57 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 0.8618/0.8618, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2246/0.2246, allocations: 32.78 MB / 293.5 MB, free: 1.219 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.859e-05, allocations: 4.391 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1643/0.1644, allocations: 9.03 MB / 448.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.1685, allocations: 3.617 MB / 452.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/0.169, allocations: 64.91 kB / 452.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.1707, allocations: 1.99 MB / 454.3 MB, free: 38.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.1723, allocations: 1.733 MB / 456 MB, free: 38.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.1729, allocations: 0.663 MB / 456.7 MB, free: 37.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001629/0.1745, allocations: 3.76 MB / 460.4 MB, free: 36.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.1757, allocations: 2.385 MB / 462.8 MB, free: 35.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009911/0.1767, allocations: 1.893 MB / 464.7 MB, free: 34.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009943/0.1777, allocations: 1.813 MB / 466.5 MB, free: 34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.1779, allocations: 260.1 kB / 466.8 MB, free: 34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000769/0.1786, allocations: 0.9685 MB / 467.8 MB, free: 33.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006319/0.1793, allocations: 1.669 MB / 469.4 MB, free: 33.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.1798, allocations: 1.034 MB / 470.5 MB, free: 32.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.1822, allocations: 5.823 MB / 476.3 MB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1822, allocations: 3.938 kB / 476.3 MB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1822, allocations: 0 / 476.3 MB, free: 30.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.307e-05/0.1822, allocations: 0 / 476.3 MB, free: 30.55 MB / 410.7 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.003422/0.1857, allocations: 4.06 MB / 480.3 MB, free: 28.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1857, allocations: 12.03 kB / 480.4 MB, free: 28.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004271/0.1861, allocations: 0.6025 MB / 481 MB, free: 27.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.1895, allocations: 1.849 MB / 482.8 MB, free: 27.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.1914, allocations: 1.938 MB / 484.7 MB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.1915, allocations: 196.3 kB / 484.9 MB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.1918, allocations: 258.8 kB / 485.2 MB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007335/0.1991, allocations: 8.505 MB / 493.7 MB, free: 22.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.927e-05/0.1992, allocations: 40.64 kB / 493.7 MB, free: 22.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.1994, allocations: 122.6 kB / 493.9 MB, free: 22.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001803/0.2012, allocations: 1.694 MB / 495.6 MB, free: 21.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008147/0.2094, allocations: 7.088 MB / 0.4909 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/0.2271, allocations: 32.99 MB / 0.5231 GB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/0.2313, allocations: 2.826 MB / 0.5258 GB, free: 180 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.2324, allocations: 1.357 MB / 0.5272 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003468/0.2359, allocations: 3.518 MB / 0.5306 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.2359, allocations: 47.16 kB / 0.5306 GB, free: 11.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 2.685e-06/0.2359, allocations: 4 kB / 0.5306 GB, free: 11.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01597/0.2519, allocations: 11.94 MB / 0.5423 GB, free: 15.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.2519, allocations: 170.8 kB / 0.5425 GB, free: 14.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003412/0.2554, allocations: 4.111 MB / 0.5465 GB, free: 10.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.2554, allocations: 45.7 kB / 0.5465 GB, free: 10.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.2566, allocations: 2.835 MB / 0.5493 GB, free: 7.965 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.2569, allocations: 0.5351 MB / 0.5498 GB, free: 7.426 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008266/0.2577, allocations: 1.072 MB / 0.5509 GB, free: 6.344 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.2577, allocations: 301.1 kB / 0.5511 GB, free: 6.047 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.2592, allocations: 1.697 MB / 0.5528 GB, free: 4.344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/0.2622, allocations: 5.148 MB / 0.5578 GB, free: 13.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005214/0.2674, allocations: 7.407 MB / 0.5651 GB, free: 4.344 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.348e-05/0.2674, allocations: 35.12 kB / 0.5651 GB, free: 4.312 MB / 474.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.006267/0.2737, allocations: 6.734 MB / 0.5717 GB, free: 13.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.2738, allocations: 56.94 kB / 0.5717 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.969e-05/0.2738, allocations: 120 kB / 0.5718 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/0.2742, allocations: 320.7 kB / 0.5722 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.276, allocations: 1.244 MB / 0.5734 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.2776, allocations: 2.382 MB / 0.5757 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.2795, allocations: 327.5 kB / 0.576 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/0.2797, allocations: 332 kB / 0.5763 GB, free: 8.699 MB / 490.7 MB 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.001761/0.2815, allocations: 1.783 MB / 0.5781 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/0.2819, allocations: 325.8 kB / 0.5784 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.2845, allocations: 2.359 MB / 0.5807 GB, free: 4.207 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.2845, allocations: 19.94 kB / 0.5807 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2845, allocations: 4 kB / 0.5807 GB, free: 4.184 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2845, allocations: 7.984 kB / 0.5807 GB, free: 4.176 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006544/0.2911, allocations: 5.719 MB / 0.5863 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2911, allocations: 4.062 kB / 0.5863 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.2915, allocations: 179.8 kB / 0.5865 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.2926, allocations: 0.7069 MB / 0.5872 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.2927, allocations: 24 kB / 0.5872 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/0.2963, allocations: 4.726 MB / 0.5918 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2963, allocations: 0 / 0.5918 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004064/0.3004, allocations: 4.346 MB / 0.596 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.3008, allocations: 337.6 kB / 0.5964 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.301, allocations: 23.98 kB / 0.5964 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/0.3016, allocations: 99.84 kB / 0.5965 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3017, allocations: 76.45 kB / 0.5966 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.3018, allocations: 32.47 kB / 0.5966 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0021/0.3039, allocations: 2.463 MB / 0.599 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-08/0.3039, allocations: 0 / 0.599 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002447/0.3063, allocations: 0.8867 MB / 0.5999 GB, free: 384 kB / 0.4948 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.004259/0.3106, allocations: 4.982 MB / 0.6047 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00398/0.3145, allocations: 3.901 MB / 0.6085 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3145, allocations: 0 / 0.6085 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008808/0.3154, allocations: 1.033 MB / 0.6095 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.3167, allocations: 411.8 kB / 0.6099 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1769/0.4936, allocations: 38.16 MB / 0.6472 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.4951, allocations: 2.233 MB / 0.6494 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001886/0.4969, allocations: 1.667 MB / 0.651 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.498, allocations: 1.532 MB / 0.6525 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/0.498, allocations: 0 / 0.6525 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06399/0.562, allocations: 59.64 MB / 0.7107 GB, free: 111 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.416/9.978, allocations: 6.812 kB / 0.7107 GB, free: 111 MB / 0.5261 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/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: 12.132522314786911]