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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 249.8 MB, free: 3.719 MB / 190.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.256/0.256, allocations: 44.92 MB / 349.6 MB, free: 1.723 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.53 kB / 491.8 MB, free: 30.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1366, allocations: 64.26 MB / 0.543 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01274/0.1493, allocations: 10.31 MB / 0.5531 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008423/0.1577, allocations: 3.814 MB / 0.5568 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.1595, allocations: 55.81 kB / 0.5569 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004525/0.1641, allocations: 1.974 MB / 0.5588 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.1694, allocations: 1.693 MB / 0.5604 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.1713, allocations: 0.6238 MB / 0.561 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006322/0.1776, allocations: 3.324 MB / 0.5643 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.1815, allocations: 2.197 MB / 0.5664 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/0.1845, allocations: 1.246 MB / 0.5676 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/0.1882, allocations: 1.822 MB / 0.5694 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.1893, allocations: 252 kB / 0.5697 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.1928, allocations: 1.069 MB / 0.5707 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002916/0.1957, allocations: 1.613 MB / 0.5723 GB, free: 5.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003621/0.1993, allocations: 1.841 MB / 0.5741 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008252/0.2076, allocations: 5.859 MB / 0.5798 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2076, allocations: 0 / 0.5798 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2076, allocations: 0 / 0.5798 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001946/0.2078, allocations: 0 / 0.5798 GB, free: 14.21 MB / 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.009726/0.2175, allocations: 4.148 MB / 0.5839 GB, free: 9.984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.2176, allocations: 11.97 kB / 0.5839 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001299/0.2189, allocations: 0.6082 MB / 0.5845 GB, free: 9.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/0.2253, allocations: 1.812 MB / 0.5862 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006084/0.2314, allocations: 2.265 MB / 0.5884 GB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.2316, allocations: 197 kB / 0.5886 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000761/0.2323, allocations: 247.8 kB / 0.5889 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.2489, allocations: 8.436 MB / 0.5971 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.249, allocations: 39.7 kB / 0.5971 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004681/0.2495, allocations: 131.8 kB / 0.5973 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003006/0.2525, allocations: 1.692 MB / 0.5989 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.268, allocations: 7.114 MB / 0.6059 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3253/0.5933, allocations: 34.07 MB / 0.6391 GB, free: 30.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007503/0.6008, allocations: 3.179 MB / 0.6422 GB, free: 29.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/0.6029, allocations: 1.351 MB / 0.6436 GB, free: 28.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008447/0.6114, allocations: 4.373 MB / 0.6478 GB, free: 26.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.6114, allocations: 48.5 kB / 0.6479 GB, free: 26.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 5.05e-06/0.6114, allocations: 0 / 0.6479 GB, free: 26.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.02736/0.6388, allocations: 11.71 MB / 0.6593 GB, free: 19.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.6389, allocations: 162.5 kB / 0.6595 GB, free: 19.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/0.6437, allocations: 3.746 MB / 0.6631 GB, free: 16.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.644, allocations: 41.7 kB / 0.6632 GB, free: 16.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.6455, allocations: 2.864 MB / 0.666 GB, free: 13.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005798/0.6461, allocations: 0.5419 MB / 0.6665 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.6474, allocations: 1.084 MB / 0.6676 GB, free: 12.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.751e-05/0.6475, allocations: 305.1 kB / 0.6678 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.6495, allocations: 1.689 MB / 0.6695 GB, free: 10.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00357/0.6531, allocations: 5.123 MB / 0.6745 GB, free: 3.309 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008648/0.6618, allocations: 7.402 MB / 0.6817 GB, free: 10.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/0.6619, allocations: 40 kB / 0.6818 GB, free: 10.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01391/0.6758, allocations: 6.724 MB / 0.6883 GB, free: 3.441 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.6759, allocations: 59.98 kB / 0.6884 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/0.6761, allocations: 120 kB / 0.6885 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009433/0.677, allocations: 316.7 kB / 0.6888 GB, free: 2.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004343/0.6814, allocations: 1.24 MB / 0.69 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/0.6848, allocations: 2.5 MB / 0.6925 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/0.6894, allocations: 283.7 kB / 0.6927 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009106/0.6903, allocations: 334.1 kB / 0.693 GB, free: 14.47 MB / 494.1 MB 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.003969/0.6943, allocations: 1.792 MB / 0.6948 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008425/0.6951, allocations: 325.9 kB / 0.6951 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/0.7002, allocations: 2.363 MB / 0.6974 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.565e-05/0.7003, allocations: 16 kB / 0.6974 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.7003, allocations: 6.25 kB / 0.6974 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.7003, allocations: 3.984 kB / 0.6974 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.7147, allocations: 5.903 MB / 0.7032 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.7148, allocations: 4 kB / 0.7032 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009603/0.7157, allocations: 171.7 kB / 0.7034 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.7181, allocations: 0.7108 MB / 0.7041 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002477/0.7184, allocations: 27.98 kB / 0.7041 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00721/0.7256, allocations: 4.813 MB / 0.7088 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.7256, allocations: 4 kB / 0.7088 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007909/0.7335, allocations: 4.341 MB / 0.713 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.7347, allocations: 374.9 kB / 0.7134 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005149/0.7353, allocations: 23.94 kB / 0.7134 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.7365, allocations: 67.91 kB / 0.7135 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.7367, allocations: 68.5 kB / 0.7135 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.7368, allocations: 43.66 kB / 0.7136 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004006/0.7408, allocations: 2.331 MB / 0.7159 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.7408, allocations: 0 / 0.7159 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004622/0.7454, allocations: 0.8163 MB / 0.7167 GB, free: 6.051 MB / 0.4981 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.00806/0.7535, allocations: 4.964 MB / 0.7215 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007233/0.7607, allocations: 3.878 MB / 0.7253 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.7607, allocations: 4 kB / 0.7253 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.7625, allocations: 1.033 MB / 0.7263 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/0.7653, allocations: 390.1 kB / 0.7267 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06832/0.8337, allocations: 37.73 MB / 0.7635 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004427/0.8381, allocations: 2.789 MB / 0.7663 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004571/0.8427, allocations: 1.658 MB / 0.7679 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/0.8457, allocations: 1.53 MB / 0.7694 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.833e-06/0.8457, allocations: 0 / 0.7694 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/0.9681, allocations: 58.13 MB / 0.8261 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.42/24.39, allocations: 12.06 kB / 0.8261 GB, free: 1.012 MB / 0.6075 GB " [Timeout remaining time 635] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 28.150996236130595]