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.0008134/0.0008134, 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.0008098/0.0008098, 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.873/0.873, allocations: 177 MB / 204.1 MB, free: 5.746 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.2329/0.2329, allocations: 34.24 MB / 294.8 MB, free: 0.7031 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 2.445e-06/2.445e-06, allocations: 4 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.259e-05, allocations: 2.281 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1729/0.1729, allocations: 9.015 MB / 451.2 MB, free: 39.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004502/0.1774, allocations: 3.617 MB / 454.8 MB, free: 37.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009553/0.1783, allocations: 69.97 kB / 454.9 MB, free: 37.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.1801, allocations: 1.989 MB / 456.9 MB, free: 36.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.1825, allocations: 1.728 MB / 458.6 MB, free: 35.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.1833, allocations: 0.6597 MB / 459.3 MB, free: 35.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00277/0.1861, allocations: 3.759 MB / 463 MB, free: 33.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.1879, allocations: 2.389 MB / 465.4 MB, free: 32.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.1898, allocations: 1.89 MB / 467.3 MB, free: 31.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.1915, allocations: 1.818 MB / 469.1 MB, free: 31.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003915/0.1919, allocations: 258.9 kB / 469.4 MB, free: 31.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.1931, allocations: 0.9657 MB / 470.3 MB, free: 31.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008881/0.194, allocations: 1.67 MB / 472 MB, free: 30.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009204/0.1949, allocations: 1.03 MB / 473 MB, free: 29.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004174/0.1991, allocations: 5.826 MB / 478.9 MB, free: 27.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1991, allocations: 4 kB / 478.9 MB, free: 27.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1991, allocations: 3.938 kB / 478.9 MB, free: 27.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001716/0.1993, allocations: 0 / 478.9 MB, free: 27.9 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.007034/0.2063, allocations: 4.059 MB / 482.9 MB, free: 25.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.2063, allocations: 10.48 kB / 482.9 MB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/0.2074, allocations: 0.6034 MB / 483.5 MB, free: 25.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.2117, allocations: 1.849 MB / 485.4 MB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.215, allocations: 1.935 MB / 487.3 MB, free: 23.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.2151, allocations: 192.8 kB / 487.5 MB, free: 23.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005368/0.2156, allocations: 255 kB / 487.8 MB, free: 23.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.2285, allocations: 8.501 MB / 496.3 MB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000142/0.2287, allocations: 41.33 kB / 496.3 MB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004006/0.2291, allocations: 131.6 kB / 496.4 MB, free: 19.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002122/0.2312, allocations: 1.697 MB / 498.1 MB, free: 19.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.2418, allocations: 7.082 MB / 0.4934 GB, free: 16.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.2711, allocations: 33 MB / 0.5256 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004833/0.276, allocations: 2.82 MB / 0.5283 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.2773, allocations: 1.361 MB / 0.5297 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004954/0.2823, allocations: 3.518 MB / 0.5331 GB, free: 7.238 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.2823, allocations: 55.2 kB / 0.5332 GB, free: 7.176 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 4.679e-06/0.2823, allocations: 0 / 0.5332 GB, free: 7.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.0198/0.3021, allocations: 11.94 MB / 0.5448 GB, free: 11.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.3022, allocations: 171 kB / 0.545 GB, free: 10.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/0.3071, allocations: 4.111 MB / 0.549 GB, free: 6.863 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002957/0.3074, allocations: 45.7 kB / 0.549 GB, free: 6.812 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.3088, allocations: 2.831 MB / 0.5518 GB, free: 3.953 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005981/0.3094, allocations: 0.5351 MB / 0.5523 GB, free: 3.414 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.3104, allocations: 1.068 MB / 0.5534 GB, free: 2.336 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.3105, allocations: 301.1 kB / 0.5537 GB, free: 2.039 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.3125, allocations: 1.697 MB / 0.5553 GB, free: 344 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/0.3159, allocations: 5.152 MB / 0.5603 GB, free: 9.449 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006702/0.3226, allocations: 7.409 MB / 0.5676 GB, free: 336 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.721e-05/0.3227, allocations: 36 kB / 0.5676 GB, free: 300 kB / 474.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01143/0.3341, allocations: 6.725 MB / 0.5742 GB, free: 9.562 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.3342, allocations: 56 kB / 0.5742 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.3343, allocations: 120 kB / 0.5743 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/0.3348, allocations: 322.5 kB / 0.5747 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/0.3373, allocations: 1.248 MB / 0.5759 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.3391, allocations: 2.371 MB / 0.5782 GB, free: 5.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/0.3421, allocations: 333.6 kB / 0.5785 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005519/0.3427, allocations: 332 kB / 0.5788 GB, free: 4.691 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.002664/0.3453, allocations: 1.784 MB / 0.5806 GB, free: 2.895 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006142/0.3459, allocations: 329.8 kB / 0.5809 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.349, allocations: 2.363 MB / 0.5832 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/0.349, allocations: 19.94 kB / 0.5832 GB, free: 176 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.349, allocations: 0 / 0.5832 GB, free: 176 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.349, allocations: 7.984 kB / 0.5832 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007951/0.357, allocations: 5.711 MB / 0.5888 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.357, allocations: 4 kB / 0.5888 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.3574, allocations: 183.6 kB / 0.589 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.3586, allocations: 0.7084 MB / 0.5897 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.487e-05/0.3587, allocations: 20 kB / 0.5897 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004188/0.3628, allocations: 4.728 MB / 0.5943 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3628, allocations: 0 / 0.5943 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00448/0.3673, allocations: 4.35 MB / 0.5985 GB, free: 272 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008799/0.3682, allocations: 329.8 kB / 0.5989 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.3684, allocations: 23.94 kB / 0.5989 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006697/0.3691, allocations: 103.9 kB / 0.599 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.3692, allocations: 80.39 kB / 0.5991 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.3693, allocations: 39.98 kB / 0.5991 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003075/0.3724, allocations: 2.459 MB / 0.6015 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3724, allocations: 0 / 0.6015 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003281/0.3757, allocations: 0.8827 MB / 0.6024 GB, free: 12.37 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.004748/0.3804, allocations: 4.98 MB / 0.6072 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005003/0.3854, allocations: 3.897 MB / 0.611 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.3854, allocations: 0 / 0.611 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.3865, allocations: 1.034 MB / 0.612 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.3884, allocations: 397.9 kB / 0.6124 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2067/0.5952, allocations: 38.18 MB / 0.6497 GB, free: 160.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/0.5968, allocations: 2.229 MB / 0.6519 GB, free: 160.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002104/0.5989, allocations: 1.671 MB / 0.6535 GB, free: 160.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.6001, allocations: 1.529 MB / 0.655 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.265e-06/0.6001, allocations: 0 / 0.655 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07322/0.6734, allocations: 59.62 MB / 0.7132 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.869/10.54, allocations: 15.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.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_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.7476149154827]