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.001267/0.001267, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001552/0.001552, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2209/0.2209, allocations: 46.95 MB / 360.9 MB, free: 4.027 MB / 286.1 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 0.001878/0.001878, allocations: 75.77 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2906, allocations: 66.04 MB / 0.5606 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01158/0.3022, allocations: 9.018 MB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007678/0.3098, allocations: 3.61 MB / 0.5729 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.3113, allocations: 67.69 kB / 0.573 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003842/0.3151, allocations: 1.9 MB / 0.5749 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.3194, allocations: 1.681 MB / 0.5765 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.3209, allocations: 0.6121 MB / 0.5771 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.3257, allocations: 3.372 MB / 0.5804 GB, free: 32 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002725/0.3284, allocations: 2.114 MB / 0.5825 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.3303, allocations: 1.257 MB / 0.5837 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.3331, allocations: 1.818 MB / 0.5855 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005844/0.3337, allocations: 256 kB / 0.5857 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.3355, allocations: 0.9284 MB / 0.5866 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001719/0.3373, allocations: 1.597 MB / 0.5882 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.3391, allocations: 1.335 MB / 0.5895 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006935/0.3461, allocations: 5.832 MB / 0.5952 GB, free: 0.793 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3461, allocations: 3.938 kB / 0.5952 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3461, allocations: 4 kB / 0.5952 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001473/0.3462, allocations: 0 / 0.5952 GB, free: 0.7852 MB / 430.1 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.008037/0.3542, allocations: 4.046 MB / 0.5991 GB, free: 12.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3543, allocations: 8.031 kB / 0.5991 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008957/0.3552, allocations: 0.6043 MB / 0.5997 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/0.3614, allocations: 1.812 MB / 0.6015 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004895/0.3663, allocations: 2.106 MB / 0.6035 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.3665, allocations: 197 kB / 0.6037 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006934/0.3672, allocations: 259.8 kB / 0.604 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.3819, allocations: 8.502 MB / 0.6123 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.382, allocations: 35.69 kB / 0.6123 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003607/0.3824, allocations: 127.9 kB / 0.6124 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002847/0.3852, allocations: 1.699 MB / 0.6141 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.3987, allocations: 7.098 MB / 0.621 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04409/0.4428, allocations: 32.8 MB / 0.6531 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007265/0.45, allocations: 2.726 MB / 0.6557 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001965/0.452, allocations: 1.357 MB / 0.6571 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006877/0.4589, allocations: 3.368 MB / 0.6603 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.4589, allocations: 47.22 kB / 0.6604 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.278e-06/0.4589, allocations: 0 / 0.6604 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.02904/0.488, allocations: 11.57 MB / 0.6717 GB, free: 456 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.4881, allocations: 166.9 kB / 0.6718 GB, free: 252 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00515/0.4932, allocations: 3.939 MB / 0.6757 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.4934, allocations: 41.7 kB / 0.6757 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002234/0.4956, allocations: 2.862 MB / 0.6785 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005848/0.4962, allocations: 0.5428 MB / 0.6791 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.4976, allocations: 1.084 MB / 0.6801 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4977, allocations: 309.1 kB / 0.6804 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/0.5002, allocations: 1.701 MB / 0.6821 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005353/0.5056, allocations: 5.148 MB / 0.6871 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009041/0.5146, allocations: 7.407 MB / 0.6943 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/0.5147, allocations: 32 kB / 0.6944 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.0124/0.5271, allocations: 6.724 MB / 0.7009 GB, free: 14.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-05/0.5272, allocations: 59.94 kB / 0.701 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/0.5273, allocations: 120 kB / 0.7011 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006799/0.528, allocations: 320.7 kB / 0.7014 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/0.532, allocations: 1.244 MB / 0.7026 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/0.5349, allocations: 2.374 MB / 0.7049 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/0.5386, allocations: 295.6 kB / 0.7052 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007145/0.5393, allocations: 336 kB / 0.7055 GB, free: 10.12 MB / 0.545 GB 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.00313/0.5425, allocations: 1.784 MB / 0.7073 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/0.5431, allocations: 329.8 kB / 0.7076 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00497/0.5481, allocations: 2.367 MB / 0.7099 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.023e-05/0.5481, allocations: 19.98 kB / 0.7099 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5482, allocations: 0 / 0.7099 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.5482, allocations: 15.91 kB / 0.7099 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.5608, allocations: 5.629 MB / 0.7154 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/0.5608, allocations: 12.06 kB / 0.7154 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009238/0.5617, allocations: 175.8 kB / 0.7156 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.564, allocations: 0.7185 MB / 0.7163 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.5641, allocations: 19.98 kB / 0.7163 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006379/0.5705, allocations: 4.664 MB / 0.7209 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.5705, allocations: 12 kB / 0.7209 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007149/0.5776, allocations: 4.35 MB / 0.7252 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/0.5785, allocations: 297.7 kB / 0.7254 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003261/0.5788, allocations: 20 kB / 0.7255 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5798, allocations: 71.95 kB / 0.7255 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.5801, allocations: 80.45 kB / 0.7256 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.66e-05/0.5802, allocations: 36 kB / 0.7256 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003476/0.5836, allocations: 2.323 MB / 0.7279 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5836, allocations: 0 / 0.7279 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003676/0.5873, allocations: 0.7968 MB / 0.7287 GB, free: 2.195 MB / 0.5606 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.2589/0.8462, allocations: 4.974 MB / 0.7335 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004925/0.8511, allocations: 3.887 MB / 0.7373 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8511, allocations: 0 / 0.7373 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.8522, allocations: 1.04 MB / 0.7384 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.8544, allocations: 394 kB / 0.7387 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03701/0.8914, allocations: 37.78 MB / 0.7756 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/0.8935, allocations: 2.236 MB / 0.7778 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002857/0.8963, allocations: 1.658 MB / 0.7794 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/0.8979, allocations: 1.522 MB / 0.7809 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.8979, allocations: 3.281 kB / 0.7809 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.9981, allocations: 60.42 MB / 0.8399 GB, free: 50.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.06, allocations: 11.73 kB / 0.8399 GB, free: 50.57 MB / 0.5606 GB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/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: 19.30972930500866]