Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00194/0.00194, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002377/0.002377, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 44.9 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 64.17 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3118, allocations: 65.48 MB / 0.557 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01295/0.3247, allocations: 10.32 MB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009209/0.334, allocations: 3.831 MB / 0.5709 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.3355, allocations: 71.62 kB / 0.5709 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.3394, allocations: 1.981 MB / 0.5729 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.3435, allocations: 1.677 MB / 0.5745 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.345, allocations: 0.6121 MB / 0.5751 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005077/0.3501, allocations: 3.365 MB / 0.5784 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.3535, allocations: 2.122 MB / 0.5805 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.3557, allocations: 1.257 MB / 0.5817 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.3587, allocations: 1.822 MB / 0.5835 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008426/0.3595, allocations: 252 kB / 0.5837 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/0.3619, allocations: 1.053 MB / 0.5847 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.364, allocations: 1.597 MB / 0.5863 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002617/0.3666, allocations: 1.821 MB / 0.5881 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007582/0.3742, allocations: 5.812 MB / 0.5937 GB, free: 1.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3742, allocations: 8 kB / 0.5937 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3742, allocations: 0 / 0.5937 GB, free: 1.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000169/0.3744, allocations: 0 / 0.5937 GB, free: 1.957 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.008483/0.3829, allocations: 4.044 MB / 0.5977 GB, free: 13.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3829, allocations: 12.03 kB / 0.5977 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/0.3841, allocations: 0.6082 MB / 0.5983 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006366/0.3904, allocations: 1.796 MB / 0.6001 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/0.3956, allocations: 2.11 MB / 0.6021 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.3959, allocations: 193 kB / 0.6023 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008943/0.3968, allocations: 255.8 kB / 0.6025 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.4131, allocations: 8.447 MB / 0.6108 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.4133, allocations: 39.69 kB / 0.6108 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004567/0.4137, allocations: 123.9 kB / 0.611 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002934/0.4166, allocations: 1.703 MB / 0.6126 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.4318, allocations: 7.102 MB / 0.6196 GB, free: 6.738 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05105/0.4828, allocations: 33.97 MB / 0.6527 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007808/0.4906, allocations: 2.738 MB / 0.6554 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002404/0.493, allocations: 1.359 MB / 0.6567 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0086/0.5016, allocations: 3.692 MB / 0.6603 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/0.5017, allocations: 51.09 kB / 0.6604 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.779e-06/0.5017, allocations: 4 kB / 0.6604 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.05208/0.5538, allocations: 11.52 MB / 0.6716 GB, free: 228 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.5539, allocations: 170.9 kB / 0.6718 GB, free: 20 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/0.5644, allocations: 3.726 MB / 0.6754 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004062/0.5648, allocations: 45.7 kB / 0.6755 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004261/0.5691, allocations: 2.866 MB / 0.6783 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001481/0.5706, allocations: 0.539 MB / 0.6788 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003057/0.5736, allocations: 1.088 MB / 0.6799 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.5738, allocations: 305.1 kB / 0.6802 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005323/0.5791, allocations: 1.701 MB / 0.6818 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/0.5896, allocations: 5.127 MB / 0.6868 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/0.6064, allocations: 7.404 MB / 0.6941 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/0.6065, allocations: 36 kB / 0.6941 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01949/0.626, allocations: 6.715 MB / 0.7006 GB, free: 14.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.6261, allocations: 59.94 kB / 0.7007 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/0.6263, allocations: 123.9 kB / 0.7008 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007453/0.6271, allocations: 321.3 kB / 0.7011 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004298/0.6314, allocations: 1.24 MB / 0.7023 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/0.6347, allocations: 2.397 MB / 0.7047 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004136/0.6388, allocations: 295.7 kB / 0.705 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/0.6399, allocations: 335.9 kB / 0.7053 GB, free: 10.11 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.004314/0.6442, allocations: 1.783 MB / 0.707 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008348/0.645, allocations: 329.8 kB / 0.7073 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/0.6508, allocations: 2.363 MB / 0.7096 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.651e-05/0.6509, allocations: 16 kB / 0.7097 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.6509, allocations: 4.047 kB / 0.7097 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-05/0.6509, allocations: 7.969 kB / 0.7097 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.6646, allocations: 5.882 MB / 0.7154 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.6647, allocations: 8 kB / 0.7154 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/0.6656, allocations: 179.7 kB / 0.7156 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.6678, allocations: 0.7108 MB / 0.7163 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.668, allocations: 23.98 kB / 0.7163 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007117/0.6751, allocations: 4.718 MB / 0.7209 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6751, allocations: 0 / 0.7209 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007853/0.6829, allocations: 4.347 MB / 0.7252 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.684, allocations: 309.7 kB / 0.7255 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004652/0.6844, allocations: 20 kB / 0.7255 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6856, allocations: 75.91 kB / 0.7256 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.6858, allocations: 76.45 kB / 0.7256 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-05/0.6859, allocations: 32 kB / 0.7257 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00417/0.6901, allocations: 2.327 MB / 0.7279 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.8e-07/0.6901, allocations: 0 / 0.7279 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006204/0.6963, allocations: 0.8007 MB / 0.7287 GB, free: 1.895 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.3461/1.042, allocations: 4.971 MB / 0.7336 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005528/1.048, allocations: 3.893 MB / 0.7374 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.048, allocations: 3.938 kB / 0.7374 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.049, allocations: 1.041 MB / 0.7384 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/1.052, allocations: 382.3 kB / 0.7388 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04459/1.096, allocations: 37.79 MB / 0.7757 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002473/1.099, allocations: 2.778 MB / 0.7784 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003137/1.102, allocations: 1.66 MB / 0.78 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/1.104, allocations: 1.522 MB / 0.7815 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.353e-06/1.104, allocations: 0 / 0.7815 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.206, allocations: 62.35 MB / 0.8424 GB, free: 50.78 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.02/26.22, allocations: 4.062 kB / 0.8424 GB, free: 50.77 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.830706169828773]