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.001344/0.001344, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002448/0.002448, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.588/1.588, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2529/0.2529, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.002149/0.002149, allocations: 63.89 kB / 0.4909 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1371, allocations: 66 MB / 0.5554 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01314/0.1503, allocations: 10.28 MB / 0.5654 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009315/0.1596, allocations: 3.818 MB / 0.5692 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.162, allocations: 67.69 kB / 0.5692 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005178/0.1671, allocations: 1.966 MB / 0.5711 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005801/0.1729, allocations: 1.672 MB / 0.5728 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.175, allocations: 0.6043 MB / 0.5734 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00601/0.181, allocations: 3.369 MB / 0.5767 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003874/0.1849, allocations: 2.197 MB / 0.5788 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.1878, allocations: 1.253 MB / 0.58 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00346/0.1912, allocations: 1.818 MB / 0.5818 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.1923, allocations: 256 kB / 0.582 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.1952, allocations: 1.053 MB / 0.5831 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002602/0.1978, allocations: 1.593 MB / 0.5846 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004604/0.2024, allocations: 1.813 MB / 0.5864 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009414/0.2119, allocations: 5.816 MB / 0.5921 GB, free: 84 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.2119, allocations: 0 / 0.5921 GB, free: 84 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2119, allocations: 0 / 0.5921 GB, free: 84 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002627/0.2121, allocations: 0 / 0.5921 GB, free: 84 kB / 446.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.3104/0.5225, allocations: 4.117 MB / 0.5961 GB, free: 33.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.5226, allocations: 8.812 kB / 0.5961 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002121/0.5247, allocations: 0.6055 MB / 0.5967 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008096/0.5328, allocations: 1.805 MB / 0.5985 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005401/0.5382, allocations: 2.172 MB / 0.6006 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.5385, allocations: 190.1 kB / 0.6008 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.5398, allocations: 256 kB / 0.601 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01874/0.5585, allocations: 8.457 MB / 0.6093 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000198/0.5587, allocations: 44.94 kB / 0.6093 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009596/0.5597, allocations: 124.2 kB / 0.6094 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003541/0.5632, allocations: 1.695 MB / 0.6111 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.5779, allocations: 7.114 MB / 0.618 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03821/0.6161, allocations: 34.08 MB / 0.6513 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008201/0.6243, allocations: 3.179 MB / 0.6544 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.6264, allocations: 1.366 MB / 0.6558 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007869/0.6343, allocations: 4.455 MB / 0.6601 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.6344, allocations: 47.12 kB / 0.6602 GB, free: 13.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 4.268e-06/0.6344, allocations: 0 / 0.6602 GB, free: 13.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.03385/0.6682, allocations: 11.75 MB / 0.6716 GB, free: 1.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.6683, allocations: 166.9 kB / 0.6718 GB, free: 1.051 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006705/0.6751, allocations: 3.73 MB / 0.6754 GB, free: 13.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000327/0.6754, allocations: 41.7 kB / 0.6755 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002647/0.678, allocations: 2.858 MB / 0.6783 GB, free: 10.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.6791, allocations: 0.5506 MB / 0.6788 GB, free: 9.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002332/0.6814, allocations: 1.084 MB / 0.6799 GB, free: 8.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6815, allocations: 301.1 kB / 0.6801 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003191/0.6847, allocations: 1.705 MB / 0.6818 GB, free: 6.738 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007062/0.6918, allocations: 5.123 MB / 0.6868 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.7032, allocations: 7.408 MB / 0.694 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/0.7033, allocations: 35.94 kB / 0.6941 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01402/0.7173, allocations: 6.727 MB / 0.7006 GB, free: 4 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.7175, allocations: 60.11 kB / 0.7007 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/0.7176, allocations: 120 kB / 0.7008 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/0.7184, allocations: 317.5 kB / 0.7011 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004494/0.7229, allocations: 1.24 MB / 0.7023 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/0.7263, allocations: 2.498 MB / 0.7048 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005063/0.7313, allocations: 295.6 kB / 0.7051 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/0.7325, allocations: 336 kB / 0.7054 GB, free: 11.02 MB / 0.5137 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.004415/0.7369, allocations: 1.787 MB / 0.7071 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008952/0.7378, allocations: 329.8 kB / 0.7074 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005776/0.7436, allocations: 2.363 MB / 0.7097 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/0.7436, allocations: 15.94 kB / 0.7098 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.7436, allocations: 4 kB / 0.7098 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/0.7436, allocations: 11.83 kB / 0.7098 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.7585, allocations: 5.91 MB / 0.7155 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.7585, allocations: 0 / 0.7155 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009964/0.7595, allocations: 179.7 kB / 0.7157 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/0.762, allocations: 0.7108 MB / 0.7164 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/0.7623, allocations: 20 kB / 0.7164 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007247/0.7696, allocations: 4.82 MB / 0.7211 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.7696, allocations: 4 kB / 0.7211 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008467/0.778, allocations: 4.352 MB / 0.7254 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.7792, allocations: 378.7 kB / 0.7258 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007908/0.78, allocations: 24 kB / 0.7258 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.7817, allocations: 67.91 kB / 0.7258 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003668/0.782, allocations: 72.44 kB / 0.7259 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.7822, allocations: 40.05 kB / 0.7259 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005234/0.7874, allocations: 2.327 MB / 0.7282 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7874, allocations: 0 / 0.7282 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006956/0.7944, allocations: 0.7968 MB / 0.729 GB, free: 2.555 MB / 0.5294 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.009316/0.8037, allocations: 4.972 MB / 0.7339 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007938/0.8116, allocations: 3.893 MB / 0.7377 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.8116, allocations: 0 / 0.7377 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.8137, allocations: 1.034 MB / 0.7387 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/0.8167, allocations: 394.9 kB / 0.739 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07696/0.8936, allocations: 37.74 MB / 0.7759 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005845/0.8995, allocations: 2.781 MB / 0.7786 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005393/0.9048, allocations: 1.66 MB / 0.7802 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003819/0.9087, allocations: 1.515 MB / 0.7817 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of SimCode: time 2.204e-06/0.9087, allocations: 0 / 0.7817 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4315/1.34, allocations: 58 MB / 0.8383 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.01/25.35, allocations: 7.156 kB / 0.8384 GB, free: 213.4 MB / 0.6387 GB " [Timeout remaining time 635] (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: 29.025561226997524]