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.0008303/0.0008303, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003621/0.003621, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.8424/0.8424, allocations: 177.1 MB / 205 MB, free: 5.734 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.2197/0.2197, allocations: 32.79 MB / 294.2 MB, free: 1.223 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: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 440.9 MB, free: 3.762 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.386e-05, allocations: 2.281 kB / 440.9 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1845/0.1845, allocations: 9.029 MB / 449.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.1898, allocations: 3.603 MB / 453.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007674/0.1906, allocations: 72.66 kB / 453.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.1924, allocations: 2 MB / 455.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.1945, allocations: 1.725 MB / 457.3 MB, free: 38.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008022/0.1953, allocations: 0.6547 MB / 457.9 MB, free: 37.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002151/0.1975, allocations: 3.756 MB / 461.7 MB, free: 36.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.1989, allocations: 2.386 MB / 464.1 MB, free: 35.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.2001, allocations: 1.893 MB / 466 MB, free: 34.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.2013, allocations: 1.815 MB / 467.8 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.2015, allocations: 259.3 kB / 468 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009152/0.2024, allocations: 0.9737 MB / 469 MB, free: 33.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007116/0.2031, allocations: 1.66 MB / 470.7 MB, free: 33.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005761/0.2037, allocations: 1.038 MB / 471.7 MB, free: 32.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.2068, allocations: 5.816 MB / 477.5 MB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2068, allocations: 0 / 477.5 MB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2068, allocations: 7.938 kB / 477.5 MB, free: 30.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.559e-05/0.2069, allocations: 0 / 477.5 MB, free: 30.59 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.004054/0.2109, allocations: 4.04 MB / 481.6 MB, free: 28.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.211, allocations: 16.94 kB / 481.6 MB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/0.2145, allocations: 1.822 MB / 483.4 MB, free: 27.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.2167, allocations: 1.859 MB / 485.3 MB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.985e-05/0.2168, allocations: 193.6 kB / 485.5 MB, free: 26.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.2171, allocations: 250.6 kB / 485.7 MB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008055/0.2252, allocations: 8.51 MB / 494.2 MB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/0.2252, allocations: 42.33 kB / 494.3 MB, free: 22.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.2254, allocations: 122.4 kB / 494.4 MB, free: 22.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001791/0.2272, allocations: 1.702 MB / 496.1 MB, free: 22.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009265/0.2365, allocations: 7.103 MB / 0.4914 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02249/0.259, allocations: 32.24 MB / 0.5229 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004328/0.2633, allocations: 2.826 MB / 0.5256 GB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.2645, allocations: 1.357 MB / 0.527 GB, free: 12 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005075/0.2696, allocations: 3.458 MB / 0.5303 GB, free: 12.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2697, allocations: 51.16 kB / 0.5304 GB, free: 12.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 4.028e-06/0.2697, allocations: 3.938 kB / 0.5304 GB, free: 12.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01957/0.2892, allocations: 11.88 MB / 0.542 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.2893, allocations: 170.9 kB / 0.5422 GB, free: 312 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004396/0.2937, allocations: 3.513 MB / 0.5456 GB, free: 12.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.2938, allocations: 45.7 kB / 0.5456 GB, free: 12.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.2955, allocations: 2.855 MB / 0.5484 GB, free: 9.844 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005079/0.296, allocations: 0.5351 MB / 0.549 GB, free: 9.305 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/0.2972, allocations: 1.072 MB / 0.55 GB, free: 8.223 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.2973, allocations: 305.1 kB / 0.5503 GB, free: 7.922 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.2997, allocations: 1.705 MB / 0.552 GB, free: 6.211 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/0.3036, allocations: 5.16 MB / 0.557 GB, free: 15.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005715/0.3093, allocations: 7.422 MB / 0.5642 GB, free: 6.188 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.746e-05/0.3094, allocations: 36 kB / 0.5643 GB, free: 6.152 MB / 474.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007274/0.3166, allocations: 6.719 MB / 0.5708 GB, free: 15.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/0.3167, allocations: 60.03 kB / 0.5709 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.713e-05/0.3168, allocations: 120 kB / 0.571 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.3172, allocations: 320.7 kB / 0.5713 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/0.3192, allocations: 1.244 MB / 0.5725 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.321, allocations: 2.357 MB / 0.5748 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.3234, allocations: 327.5 kB / 0.5751 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/0.3237, allocations: 335.9 kB / 0.5755 GB, free: 10.59 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 (668): * Single equations (assignments): 664 * 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.002466/0.3262, allocations: 1.796 MB / 0.5772 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.3266, allocations: 286.1 kB / 0.5775 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.3294, allocations: 2.324 MB / 0.5798 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.3294, allocations: 20.03 kB / 0.5798 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.3294, allocations: 4.688 kB / 0.5798 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3294, allocations: 7.969 kB / 0.5798 GB, free: 6.121 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007265/0.3367, allocations: 5.16 MB / 0.5848 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.3367, allocations: 0 / 0.5848 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.3372, allocations: 176.6 kB / 0.585 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.3383, allocations: 0.7211 MB / 0.5857 GB, free: 16 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.3384, allocations: 24.55 kB / 0.5857 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.3425, allocations: 4.694 MB / 0.5903 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3425, allocations: 0 / 0.5903 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004324/0.3469, allocations: 4.309 MB / 0.5945 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005237/0.3474, allocations: 285.9 kB / 0.5948 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.3476, allocations: 23.94 kB / 0.5948 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.3482, allocations: 99.84 kB / 0.5949 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.3483, allocations: 64.53 kB / 0.595 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/0.3484, allocations: 47.98 kB / 0.595 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002464/0.3508, allocations: 2.026 MB / 0.597 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3508, allocations: 0 / 0.597 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003218/0.354, allocations: 0.8749 MB / 0.5978 GB, free: 3.445 MB / 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.0004116/0.3545, allocations: 163 kB / 0.598 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004426/0.3589, allocations: 3.91 MB / 0.6018 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3589, allocations: 0 / 0.6018 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.3602, allocations: 1.029 MB / 0.6028 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.3615, allocations: 341 kB / 0.6032 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009672/0.3712, allocations: 7.707 MB / 0.6107 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/0.373, allocations: 2.224 MB / 0.6129 GB, free: 4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/0.3737, allocations: 236.5 kB / 0.6131 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.894e-06/0.3737, allocations: 0 / 0.6131 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.2503/0.624, allocations: 64.61 MB / 0.6762 GB, free: 142.8 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] 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: 7.886005761101842]