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.0008649/0.0008649, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008784/0.0008784, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8663/0.8663, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2433/0.2433, allocations: 34.23 MB / 294.8 MB, free: 0.668 MB / 266.7 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 1.923e-06/1.923e-06, allocations: 0 / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.595e-05, allocations: 2.281 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1757/0.1757, allocations: 9.033 MB / 451.2 MB, free: 39.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.1789, allocations: 3.608 MB / 454.8 MB, free: 37.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.1793, allocations: 71.62 kB / 454.9 MB, free: 37.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.1808, allocations: 1.991 MB / 456.9 MB, free: 36.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.1823, allocations: 1.737 MB / 458.6 MB, free: 35.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.1828, allocations: 0.6535 MB / 459.3 MB, free: 35.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.1843, allocations: 3.749 MB / 463 MB, free: 33.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.1855, allocations: 2.384 MB / 465.4 MB, free: 32.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009896/0.1865, allocations: 1.9 MB / 467.3 MB, free: 31.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009922/0.1875, allocations: 1.808 MB / 469.1 MB, free: 31.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.1877, allocations: 261.3 kB / 469.4 MB, free: 31.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007474/0.1884, allocations: 0.9757 MB / 470.3 MB, free: 31.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006271/0.189, allocations: 1.665 MB / 472 MB, free: 30.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005511/0.1896, allocations: 1.032 MB / 473 MB, free: 29.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.1923, allocations: 5.827 MB / 478.9 MB, free: 27.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1923, allocations: 0 / 478.9 MB, free: 27.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1923, allocations: 2.844 kB / 478.9 MB, free: 27.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.85e-05/0.1923, allocations: 0 / 478.9 MB, free: 27.88 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.004212/0.1965, allocations: 4.05 MB / 482.9 MB, free: 25.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1966, allocations: 10.17 kB / 482.9 MB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005445/0.1971, allocations: 0.6152 MB / 483.5 MB, free: 25.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003742/0.2009, allocations: 1.841 MB / 485.4 MB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.203, allocations: 1.943 MB / 487.3 MB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/0.2031, allocations: 191.4 kB / 487.5 MB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.2034, allocations: 256.2 kB / 487.8 MB, free: 23.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00781/0.2113, allocations: 8.504 MB / 496.3 MB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-05/0.2113, allocations: 41.06 kB / 496.3 MB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.2115, allocations: 126.8 kB / 496.4 MB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001731/0.2133, allocations: 1.699 MB / 498.1 MB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007472/0.2208, allocations: 7.084 MB / 0.4934 GB, free: 16.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/0.2397, allocations: 32.99 MB / 0.5256 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/0.2437, allocations: 2.832 MB / 0.5283 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.2448, allocations: 1.361 MB / 0.5297 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003566/0.2484, allocations: 3.518 MB / 0.5331 GB, free: 7.191 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2484, allocations: 51.14 kB / 0.5332 GB, free: 7.133 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 2.424e-06/0.2484, allocations: 0 / 0.5332 GB, free: 7.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01667/0.2651, allocations: 11.93 MB / 0.5448 GB, free: 11.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.2652, allocations: 166.9 kB / 0.545 GB, free: 10.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/0.2687, allocations: 4.118 MB / 0.549 GB, free: 6.828 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.2688, allocations: 45.64 kB / 0.549 GB, free: 6.777 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.2703, allocations: 2.831 MB / 0.5518 GB, free: 3.918 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00033/0.2706, allocations: 0.5351 MB / 0.5523 GB, free: 3.379 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008769/0.2715, allocations: 1.068 MB / 0.5534 GB, free: 2.301 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.2716, allocations: 301.1 kB / 0.5537 GB, free: 2.004 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.2733, allocations: 1.701 MB / 0.5553 GB, free: 304 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/0.2764, allocations: 5.145 MB / 0.5603 GB, free: 9.414 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005358/0.2817, allocations: 7.409 MB / 0.5676 GB, free: 300 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-05/0.2818, allocations: 36 kB / 0.5676 GB, free: 264 kB / 474.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.00665/0.2884, allocations: 6.72 MB / 0.5742 GB, free: 9.531 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.2885, allocations: 60 kB / 0.5742 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.62e-05/0.2885, allocations: 120.9 kB / 0.5743 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.2889, allocations: 330.5 kB / 0.5747 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.2909, allocations: 1.24 MB / 0.5759 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.2926, allocations: 2.377 MB / 0.5782 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.2946, allocations: 327.5 kB / 0.5785 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.2949, allocations: 333.9 kB / 0.5788 GB, free: 4.656 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.001914/0.2968, allocations: 1.795 MB / 0.5806 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.2971, allocations: 330.2 kB / 0.5809 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.2998, allocations: 2.351 MB / 0.5832 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.2998, allocations: 19.94 kB / 0.5832 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2998, allocations: 8 kB / 0.5832 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2998, allocations: 3.984 kB / 0.5832 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006604/0.3064, allocations: 5.715 MB / 0.5888 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.3064, allocations: 3.938 kB / 0.5888 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.3068, allocations: 175.8 kB / 0.589 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.3079, allocations: 0.7076 MB / 0.5897 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/0.308, allocations: 31.98 kB / 0.5897 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.3117, allocations: 4.716 MB / 0.5943 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3117, allocations: 10.09 kB / 0.5943 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/0.3159, allocations: 4.351 MB / 0.5985 GB, free: 232 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.3163, allocations: 333.7 kB / 0.5989 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.3165, allocations: 20 kB / 0.5989 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.3172, allocations: 107.8 kB / 0.599 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.3173, allocations: 68.28 kB / 0.5991 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.3174, allocations: 39.98 kB / 0.5991 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002264/0.3196, allocations: 2.463 MB / 0.6015 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3196, allocations: 0 / 0.6015 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002387/0.322, allocations: 0.8828 MB / 0.6024 GB, free: 12.33 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.004393/0.3264, allocations: 4.981 MB / 0.6072 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003769/0.3302, allocations: 3.889 MB / 0.611 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3302, allocations: 4 kB / 0.611 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009187/0.3311, allocations: 1.041 MB / 0.612 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.3323, allocations: 398 kB / 0.6124 GB, free: 2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1974/0.5297, allocations: 38.17 MB / 0.6497 GB, free: 160.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.5312, allocations: 2.229 MB / 0.6519 GB, free: 160.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00191/0.5331, allocations: 1.663 MB / 0.6535 GB, free: 160.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009906/0.5341, allocations: 1.533 MB / 0.655 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.753e-06/0.5341, allocations: 0 / 0.655 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06484/0.5989, allocations: 59.62 MB / 0.7132 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.82, allocations: 11.95 kB / 0.7132 GB, free: 130.9 MB / 0.5417 GB " [Timeout remaining time 649] (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/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_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: 12.887761010788381]