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.001705/0.001705, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002072/0.002072, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.555/1.555, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.2428/0.2428, allocations: 46.97 MB / 361.7 MB, free: 4.035 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.88 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3658, allocations: 66.04 MB / 0.5614 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01368/0.3795, allocations: 8.966 MB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.3895, allocations: 3.594 MB / 0.5736 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.3921, allocations: 67.69 kB / 0.5737 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004962/0.397, allocations: 1.908 MB / 0.5756 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.4019, allocations: 1.681 MB / 0.5772 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.4037, allocations: 0.6004 MB / 0.5778 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006134/0.4099, allocations: 3.372 MB / 0.5811 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004025/0.4139, allocations: 2.13 MB / 0.5832 GB, free: 13.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.417, allocations: 1.261 MB / 0.5844 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.4207, allocations: 1.807 MB / 0.5862 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009928/0.4217, allocations: 256 kB / 0.5864 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.4241, allocations: 0.9283 MB / 0.5873 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002087/0.4262, allocations: 1.593 MB / 0.5889 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002514/0.4287, allocations: 1.347 MB / 0.5902 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009214/0.4379, allocations: 5.828 MB / 0.5959 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.4379, allocations: 3.938 kB / 0.5959 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4379, allocations: 4 kB / 0.5959 GB, free: 0.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002455/0.4382, allocations: 0 / 0.5959 GB, free: 0.707 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.01249/0.4507, allocations: 4.046 MB / 0.5998 GB, free: 12.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.4507, allocations: 8.031 kB / 0.5998 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001632/0.4509, allocations: 93.16 kB / 0.5999 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00183/0.4527, allocations: 0.6004 MB / 0.6005 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007098/0.4598, allocations: 1.808 MB / 0.6023 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005938/0.4657, allocations: 2.106 MB / 0.6043 GB, free: 7.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.466, allocations: 196.8 kB / 0.6045 GB, free: 7.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.4672, allocations: 259.8 kB / 0.6048 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01791/0.4851, allocations: 8.498 MB / 0.6131 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001497/0.4853, allocations: 39.69 kB / 0.6131 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007238/0.486, allocations: 123.9 kB / 0.6132 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003286/0.4893, allocations: 1.699 MB / 0.6149 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.5066, allocations: 7.114 MB / 0.6218 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05255/0.5592, allocations: 32.8 MB / 0.6539 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007854/0.567, allocations: 2.727 MB / 0.6565 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/0.5692, allocations: 1.36 MB / 0.6579 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007538/0.5767, allocations: 3.357 MB / 0.6611 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.5768, allocations: 51.09 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.499e-06/0.5768, allocations: 0 / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.0335/0.6103, allocations: 11.57 MB / 0.6725 GB, free: 284 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.6104, allocations: 170.8 kB / 0.6726 GB, free: 76 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007269/0.6177, allocations: 3.738 MB / 0.6763 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003989/0.6181, allocations: 41.7 kB / 0.6763 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003098/0.6212, allocations: 2.858 MB / 0.6791 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.6222, allocations: 0.5468 MB / 0.6797 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002204/0.6245, allocations: 1.08 MB / 0.6807 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6246, allocations: 309.1 kB / 0.681 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/0.628, allocations: 1.697 MB / 0.6827 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007276/0.6352, allocations: 5.144 MB / 0.6877 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.6456, allocations: 7.411 MB / 0.6949 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/0.6458, allocations: 36 kB / 0.695 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01414/0.6599, allocations: 6.722 MB / 0.7015 GB, free: 15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.66, allocations: 60.97 kB / 0.7016 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/0.6602, allocations: 127.9 kB / 0.7017 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007677/0.661, allocations: 324.6 kB / 0.702 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/0.6653, allocations: 1.24 MB / 0.7032 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.6684, allocations: 2.382 MB / 0.7056 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.6722, allocations: 287.6 kB / 0.7058 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009505/0.6731, allocations: 336 kB / 0.7061 GB, free: 10.14 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.003727/0.6769, allocations: 1.787 MB / 0.7079 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/0.6776, allocations: 325.8 kB / 0.7082 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005102/0.6827, allocations: 2.37 MB / 0.7105 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/0.6828, allocations: 19.91 kB / 0.7105 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.6828, allocations: 4 kB / 0.7105 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.6828, allocations: 3.984 kB / 0.7105 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.6952, allocations: 5.636 MB / 0.716 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.6952, allocations: 8.062 kB / 0.7161 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009737/0.6962, allocations: 167.8 kB / 0.7162 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002477/0.6986, allocations: 0.7185 MB / 0.7169 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.6988, allocations: 20 kB / 0.7169 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007166/0.706, allocations: 4.676 MB / 0.7215 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.706, allocations: 4 kB / 0.7215 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008268/0.7142, allocations: 4.349 MB / 0.7258 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009722/0.7152, allocations: 305.7 kB / 0.726 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006801/0.7159, allocations: 27.92 kB / 0.7261 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.7174, allocations: 75.89 kB / 0.7261 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.7176, allocations: 64.53 kB / 0.7262 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.7177, allocations: 39.98 kB / 0.7262 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004527/0.7223, allocations: 2.319 MB / 0.7285 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7223, allocations: 4.062 kB / 0.7285 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004508/0.7268, allocations: 0.8007 MB / 0.7293 GB, free: 2.219 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.2432/0.97, allocations: 4.971 MB / 0.7341 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005895/0.9759, allocations: 3.89 MB / 0.7379 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.9759, allocations: 0 / 0.7379 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.9771, allocations: 1.036 MB / 0.739 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.9795, allocations: 392.2 kB / 0.7393 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04345/1.023, allocations: 37.78 MB / 0.7762 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/1.026, allocations: 2.232 MB / 0.7784 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003162/1.029, allocations: 1.66 MB / 0.78 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001729/1.031, allocations: 1.526 MB / 0.7815 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.694e-06/1.031, allocations: 0 / 0.7815 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09182/1.122, allocations: 60.08 MB / 0.8402 GB, free: 51.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.28/27.4, allocations: 7.328 kB / 0.8402 GB, free: 51.07 MB / 0.5606 GB " [Timeout remaining time 632] (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: 31.663653929019347]