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.001045/0.001045, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008489/0.0008489, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8231/0.8231, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1275/0.1275, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 406.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.517e-05, allocations: 9.938 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0106/0.01062, allocations: 9.073 MB / 415.9 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00497/0.01559, allocations: 3.604 MB / 419.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009019/0.01649, allocations: 67.62 kB / 419.6 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.0185, allocations: 1.997 MB / 421.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.02076, allocations: 1.768 MB / 423.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.02388, allocations: 0.6625 MB / 424 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004478/0.02835, allocations: 3.696 MB / 427.7 MB, free: 8.555 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.03133, allocations: 2.398 MB / 430.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.03405, allocations: 1.921 MB / 432 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.03645, allocations: 1.82 MB / 433.9 MB, free: 2.352 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004137/0.03687, allocations: 260 kB / 434.1 MB, free: 2.098 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.03831, allocations: 0.9751 MB / 435.1 MB, free: 1.121 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1657/0.204, allocations: 1.687 MB / 436.8 MB, free: 21.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.2055, allocations: 1.05 MB / 437.8 MB, free: 21.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009266/0.2147, allocations: 5.889 MB / 443.7 MB, free: 20.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.2147, allocations: 1.219 kB / 443.7 MB, free: 20.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2147, allocations: 0 / 443.7 MB, free: 20.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002738/0.215, allocations: 0 / 443.7 MB, free: 20.77 MB / 362.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.01071/0.2257, allocations: 4.095 MB / 447.8 MB, free: 19.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.2258, allocations: 9.75 kB / 447.8 MB, free: 19.06 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001086/0.2269, allocations: 0.6097 MB / 448.4 MB, free: 18.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/0.2308, allocations: 1.845 MB / 450.3 MB, free: 18.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.2342, allocations: 2.121 MB / 452.4 MB, free: 17.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.2343, allocations: 188.4 kB / 452.6 MB, free: 17.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003996/0.2347, allocations: 258.3 kB / 452.8 MB, free: 17.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.2458, allocations: 8.487 MB / 461.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-05/0.2459, allocations: 40.86 kB / 461.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.2462, allocations: 127.6 kB / 461.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00154/0.2477, allocations: 1.696 MB / 463.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009048/0.2568, allocations: 7.066 MB / 470.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02914/0.2859, allocations: 33.07 MB / 0.4915 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004571/0.2905, allocations: 2.815 MB / 0.4943 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.2919, allocations: 1.357 MB / 0.4956 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004783/0.2967, allocations: 3.533 MB / 0.499 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.2967, allocations: 50.41 kB / 0.4991 GB, free: 40 kB / 394.7 MB Notification: Performance of pre-optimization done (n=121): time 4.599e-06/0.2967, allocations: 0 / 0.4991 GB, free: 40 kB / 394.7 MB Notification: Performance of matching and sorting (n=129): time 0.01965/0.3164, allocations: 12 MB / 0.5108 GB, free: 4.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.3164, allocations: 174.4 kB / 0.511 GB, free: 3.809 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/0.3208, allocations: 4.181 MB / 0.5151 GB, free: 15.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002358/0.321, allocations: 41.7 kB / 0.5151 GB, free: 15.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001873/0.3229, allocations: 2.833 MB / 0.5179 GB, free: 12.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000624/0.3235, allocations: 0.5285 MB / 0.5184 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009896/0.3245, allocations: 1.07 MB / 0.5194 GB, free: 11.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.3246, allocations: 304.5 kB / 0.5197 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.3263, allocations: 1.693 MB / 0.5214 GB, free: 9.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0033/0.3296, allocations: 5.141 MB / 0.5264 GB, free: 2.371 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005935/0.3355, allocations: 7.408 MB / 0.5336 GB, free: 9.434 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.258e-05/0.3356, allocations: 39.75 kB / 0.5337 GB, free: 9.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009372/0.345, allocations: 6.714 MB / 0.5402 GB, free: 2.672 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/0.345, allocations: 56 kB / 0.5403 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.001e-05/0.3451, allocations: 126.3 kB / 0.5404 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.3455, allocations: 316.7 kB / 0.5407 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.3479, allocations: 1.244 MB / 0.5419 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.35, allocations: 2.377 MB / 0.5442 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/0.353, allocations: 331.6 kB / 0.5446 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004715/0.3535, allocations: 332 kB / 0.5449 GB, free: 13.8 MB / 458.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.002591/0.3561, allocations: 1.789 MB / 0.5466 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005292/0.3566, allocations: 326.5 kB / 0.5469 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.3594, allocations: 2.36 MB / 0.5492 GB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.3594, allocations: 15.94 kB / 0.5492 GB, free: 9.293 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.3594, allocations: 4 kB / 0.5493 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3595, allocations: 7.984 kB / 0.5493 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008152/0.3676, allocations: 5.741 MB / 0.5549 GB, free: 3.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.3676, allocations: 4.125 kB / 0.5549 GB, free: 3.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.3681, allocations: 175.8 kB / 0.555 GB, free: 3.336 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.3693, allocations: 0.7116 MB / 0.5557 GB, free: 2.625 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.096e-05/0.3694, allocations: 24 kB / 0.5558 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/0.3736, allocations: 4.72 MB / 0.5604 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3736, allocations: 0 / 0.5604 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004672/0.3783, allocations: 4.334 MB / 0.5646 GB, free: 9.418 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.3795, allocations: 0.5129 MB / 0.5651 GB, free: 8.906 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.3797, allocations: 16 kB / 0.5651 GB, free: 8.891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.3804, allocations: 107.8 kB / 0.5652 GB, free: 8.785 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.3806, allocations: 70.42 kB / 0.5653 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.3807, allocations: 39.98 kB / 0.5653 GB, free: 8.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003191/0.3838, allocations: 2.507 MB / 0.5678 GB, free: 6.188 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3838, allocations: 0 / 0.5678 GB, free: 6.188 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003901/0.3877, allocations: 0.9027 MB / 0.5687 GB, free: 5.285 MB / 474.7 MB 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.005458/0.3932, allocations: 4.982 MB / 0.5735 GB, free: 264 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005629/0.3988, allocations: 3.889 MB / 0.5773 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.3988, allocations: 0 / 0.5773 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.4002, allocations: 1.025 MB / 0.5783 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.4024, allocations: 416.2 kB / 0.5787 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1961/0.5984, allocations: 38.41 MB / 0.6162 GB, free: 183.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00358/0.602, allocations: 2.239 MB / 0.6184 GB, free: 183.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003143/0.6052, allocations: 1.669 MB / 0.62 GB, free: 183.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/0.6069, allocations: 1.531 MB / 0.6215 GB, free: 183.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.315e-06/0.6069, allocations: 0 / 0.6215 GB, free: 183.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07513/0.682, allocations: 60.21 MB / 0.6803 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.369/10.05, allocations: 4.062 kB / 0.6803 GB, free: 134.6 MB / 0.5105 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/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: 12.072205746546388]