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.001796/0.001796, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002224/0.002224, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2365/0.2365, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.002049/0.002049, allocations: 75.86 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01173/0.3438, allocations: 9.034 MB / 0.5694 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008404/0.3522, allocations: 3.597 MB / 0.5729 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.3539, allocations: 71.62 kB / 0.573 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004274/0.3582, allocations: 1.908 MB / 0.5749 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.363, allocations: 1.681 MB / 0.5765 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.3647, allocations: 0.6122 MB / 0.5771 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00498/0.3697, allocations: 3.361 MB / 0.5804 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003119/0.3728, allocations: 2.118 MB / 0.5824 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002187/0.375, allocations: 1.25 MB / 0.5837 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00286/0.3779, allocations: 1.728 MB / 0.5854 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008198/0.3787, allocations: 256 kB / 0.5856 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.3809, allocations: 0.9205 MB / 0.5865 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002071/0.383, allocations: 1.597 MB / 0.5881 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.3854, allocations: 1.332 MB / 0.5894 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007547/0.393, allocations: 5.836 MB / 0.5951 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.393, allocations: 0 / 0.5951 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.393, allocations: 0 / 0.5951 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001309/0.3931, allocations: 0 / 0.5951 GB, free: 0.7539 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.007986/0.4011, allocations: 4.05 MB / 0.599 GB, free: 12.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4012, allocations: 8.031 kB / 0.599 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000902/0.4021, allocations: 0.6043 MB / 0.5996 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/0.4085, allocations: 1.808 MB / 0.6014 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/0.4137, allocations: 2.11 MB / 0.6034 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.4139, allocations: 193 kB / 0.6036 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006352/0.4145, allocations: 259.8 kB / 0.6039 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.4294, allocations: 8.494 MB / 0.6122 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.4295, allocations: 43.67 kB / 0.6122 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/0.4299, allocations: 127.9 kB / 0.6123 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00301/0.4329, allocations: 1.691 MB / 0.614 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.4478, allocations: 7.098 MB / 0.6209 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04578/0.4936, allocations: 32.8 MB / 0.6529 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/0.5014, allocations: 2.731 MB / 0.6556 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.5035, allocations: 1.364 MB / 0.6569 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007228/0.5107, allocations: 3.364 MB / 0.6602 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/0.5108, allocations: 47.22 kB / 0.6603 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.418e-06/0.5108, allocations: 0 / 0.6603 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03113/0.5419, allocations: 11.57 MB / 0.6716 GB, free: 428 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.542, allocations: 170.8 kB / 0.6717 GB, free: 220 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006281/0.5483, allocations: 3.935 MB / 0.6756 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.5486, allocations: 41.7 kB / 0.6756 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002561/0.5512, allocations: 2.862 MB / 0.6784 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008076/0.552, allocations: 0.5467 MB / 0.6789 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001766/0.5537, allocations: 1.08 MB / 0.68 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5539, allocations: 305.1 kB / 0.6803 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002793/0.5567, allocations: 1.705 MB / 0.682 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006737/0.5634, allocations: 5.148 MB / 0.687 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.5747, allocations: 7.407 MB / 0.6942 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000197/0.5749, allocations: 40 kB / 0.6943 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01559/0.5905, allocations: 6.712 MB / 0.7008 GB, free: 14.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.5907, allocations: 63.94 kB / 0.7009 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002419/0.5909, allocations: 120 kB / 0.701 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007669/0.5917, allocations: 324.7 kB / 0.7013 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004644/0.5963, allocations: 1.24 MB / 0.7025 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/0.5995, allocations: 2.382 MB / 0.7048 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/0.6042, allocations: 295.7 kB / 0.7051 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009155/0.6051, allocations: 332 kB / 0.7054 GB, free: 10.09 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.003569/0.6086, allocations: 1.787 MB / 0.7072 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007505/0.6094, allocations: 325.8 kB / 0.7075 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005276/0.6147, allocations: 2.363 MB / 0.7098 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/0.6147, allocations: 16 kB / 0.7098 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.6147, allocations: 4 kB / 0.7098 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.6147, allocations: 3.984 kB / 0.7098 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.6303, allocations: 5.648 MB / 0.7153 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/0.6304, allocations: 7.938 kB / 0.7153 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009996/0.6314, allocations: 175.9 kB / 0.7155 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002407/0.6338, allocations: 0.7069 MB / 0.7162 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/0.634, allocations: 24 kB / 0.7162 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007642/0.6416, allocations: 4.672 MB / 0.7208 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6416, allocations: 0 / 0.7208 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009001/0.6506, allocations: 4.35 MB / 0.725 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.6518, allocations: 305.7 kB / 0.7253 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007156/0.6525, allocations: 16 kB / 0.7253 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.654, allocations: 83.95 kB / 0.7254 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.6543, allocations: 68.52 kB / 0.7255 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.6544, allocations: 36 kB / 0.7255 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00536/0.6598, allocations: 2.323 MB / 0.7278 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6598, allocations: 0 / 0.7278 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005726/0.6655, allocations: 0.7968 MB / 0.7286 GB, free: 2.168 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.2901/0.9556, allocations: 4.977 MB / 0.7334 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005194/0.9608, allocations: 3.889 MB / 0.7372 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.9608, allocations: 4 kB / 0.7372 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.962, allocations: 1.041 MB / 0.7382 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.00212/0.9641, allocations: 385.8 kB / 0.7386 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03966/1.004, allocations: 37.78 MB / 0.7755 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/1.006, allocations: 2.243 MB / 0.7777 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002989/1.009, allocations: 1.664 MB / 0.7793 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/1.01, allocations: 1.522 MB / 0.7808 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/1.01, allocations: 4 kB / 0.7808 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8131/1.824, allocations: 58.1 MB / 0.8376 GB, free: 52.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.89/17.72, allocations: 11.75 kB / 0.8376 GB, free: 52.71 MB / 0.5606 GB " [Timeout remaining time 642] (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: 21.44607817893848]