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.0008335/0.0008335, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.0008473/0.0008473, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8498/0.8498, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.235/0.235, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 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 1.573e-06/1.573e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.876e-05, allocations: 8.328 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1618/0.1618, allocations: 9.024 MB / 451.2 MB, free: 39.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.1657, allocations: 3.618 MB / 454.8 MB, free: 37.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006009/0.1663, allocations: 69.47 kB / 454.9 MB, free: 37.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.1679, allocations: 1.986 MB / 456.9 MB, free: 36.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.1697, allocations: 1.743 MB / 458.6 MB, free: 35.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.1703, allocations: 0.6572 MB / 459.3 MB, free: 35.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.1722, allocations: 3.75 MB / 463 MB, free: 33.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.1737, allocations: 2.387 MB / 465.4 MB, free: 32.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.175, allocations: 1.893 MB / 467.3 MB, free: 31.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.1762, allocations: 1.811 MB / 469.1 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.1764, allocations: 259 kB / 469.4 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009099/0.1774, allocations: 0.9701 MB / 470.3 MB, free: 31.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006529/0.178, allocations: 1.666 MB / 472 MB, free: 30.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005519/0.1786, allocations: 1.034 MB / 473 MB, free: 30.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.1813, allocations: 5.825 MB / 478.9 MB, free: 27.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1813, allocations: 6.844 kB / 478.9 MB, free: 27.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1813, allocations: 0 / 478.9 MB, free: 27.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.842e-05/0.1814, allocations: 0.6562 kB / 478.9 MB, free: 27.98 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.004118/0.1855, allocations: 4.055 MB / 482.9 MB, free: 25.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1855, allocations: 9.625 kB / 482.9 MB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005098/0.186, allocations: 0.6103 MB / 483.5 MB, free: 25.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/0.1897, allocations: 1.841 MB / 485.4 MB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.192, allocations: 1.943 MB / 487.3 MB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.1921, allocations: 196.5 kB / 487.5 MB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.1924, allocations: 250.2 kB / 487.8 MB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007792/0.2002, allocations: 8.501 MB / 496.3 MB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.09e-05/0.2002, allocations: 45.52 kB / 496.3 MB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.2005, allocations: 122.6 kB / 496.4 MB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001804/0.2023, allocations: 1.694 MB / 498.1 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007575/0.2098, allocations: 7.086 MB / 0.4934 GB, free: 16.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02339/0.2332, allocations: 33 MB / 0.5256 GB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004586/0.2378, allocations: 2.826 MB / 0.5284 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.2392, allocations: 1.357 MB / 0.5297 GB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004674/0.2439, allocations: 3.518 MB / 0.5331 GB, free: 7.344 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2439, allocations: 51.2 kB / 0.5332 GB, free: 7.285 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 4.819e-06/0.2439, allocations: 3.938 kB / 0.5332 GB, free: 7.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01882/0.2627, allocations: 11.93 MB / 0.5448 GB, free: 11.28 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.2628, allocations: 166.9 kB / 0.545 GB, free: 11.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004161/0.267, allocations: 4.115 MB / 0.549 GB, free: 6.973 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.2671, allocations: 41.7 kB / 0.549 GB, free: 6.926 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.2684, allocations: 2.838 MB / 0.5518 GB, free: 4.059 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/0.2689, allocations: 0.5351 MB / 0.5523 GB, free: 3.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009311/0.2698, allocations: 1.06 MB / 0.5534 GB, free: 2.449 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.2699, allocations: 301.1 kB / 0.5537 GB, free: 2.152 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.2716, allocations: 1.705 MB / 0.5553 GB, free: 452 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/0.2748, allocations: 5.148 MB / 0.5604 GB, free: 9.555 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/0.2805, allocations: 7.415 MB / 0.5676 GB, free: 440 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.579e-05/0.2806, allocations: 36 kB / 0.5676 GB, free: 404 kB / 474.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008205/0.2888, allocations: 6.726 MB / 0.5742 GB, free: 9.668 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.2888, allocations: 60 kB / 0.5743 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.289, allocations: 120 kB / 0.5744 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000443/0.2894, allocations: 320.7 kB / 0.5747 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.2917, allocations: 1.244 MB / 0.5759 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.2937, allocations: 2.371 MB / 0.5782 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/0.2965, allocations: 327.6 kB / 0.5785 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006063/0.2971, allocations: 333.1 kB / 0.5788 GB, free: 4.801 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.002417/0.2995, allocations: 1.792 MB / 0.5806 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006182/0.3001, allocations: 325.8 kB / 0.5809 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/0.303, allocations: 2.359 MB / 0.5832 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.3031, allocations: 23.92 kB / 0.5832 GB, free: 284 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3031, allocations: 4 kB / 0.5832 GB, free: 280 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3031, allocations: 3.984 kB / 0.5832 GB, free: 276 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007998/0.3111, allocations: 5.715 MB / 0.5888 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.3111, allocations: 3.938 kB / 0.5888 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.3116, allocations: 171.8 kB / 0.589 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.3128, allocations: 0.7148 MB / 0.5897 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.3129, allocations: 25.06 kB / 0.5897 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/0.3168, allocations: 4.722 MB / 0.5943 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3168, allocations: 11.91 kB / 0.5943 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004507/0.3213, allocations: 4.343 MB / 0.5986 GB, free: 380 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007406/0.3221, allocations: 329.6 kB / 0.5989 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.3223, allocations: 20 kB / 0.5989 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007167/0.323, allocations: 108.5 kB / 0.599 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.3232, allocations: 76.39 kB / 0.5991 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-05/0.3232, allocations: 36 kB / 0.5991 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002716/0.3259, allocations: 2.463 MB / 0.6015 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3259, allocations: 0 / 0.6015 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002881/0.3288, allocations: 0.8826 MB / 0.6024 GB, free: 12.47 MB / 0.5105 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.004848/0.3337, allocations: 4.984 MB / 0.6072 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004975/0.3387, allocations: 3.901 MB / 0.611 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3387, allocations: 0.5625 kB / 0.611 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.3399, allocations: 1.033 MB / 0.6121 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.3418, allocations: 402.7 kB / 0.6124 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2003/0.5421, allocations: 38.17 MB / 0.6497 GB, free: 161 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.5437, allocations: 2.22 MB / 0.6519 GB, free: 160.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002137/0.5458, allocations: 1.672 MB / 0.6535 GB, free: 160.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.547, allocations: 1.535 MB / 0.655 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.803e-06/0.547, allocations: 0 / 0.655 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07463/0.6216, allocations: 59.63 MB / 0.7133 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.85, allocations: 0 / 0.7133 GB, free: 131.2 MB / 0.5417 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/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: 12.985582947731018]