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.001599/0.001599, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001791/0.001791, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2211/0.2211, allocations: 44.91 MB / 359.6 MB, free: 6.289 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",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.002077/0.002077, allocations: 63.89 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4112, allocations: 65.48 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01374/0.425, allocations: 10.31 MB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00909/0.434, allocations: 3.839 MB / 0.5716 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.436, allocations: 71.62 kB / 0.5717 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004251/0.4402, allocations: 1.978 MB / 0.5736 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00504/0.4453, allocations: 1.677 MB / 0.5753 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.4471, allocations: 0.6043 MB / 0.5759 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006015/0.4531, allocations: 3.369 MB / 0.5791 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.4564, allocations: 2.133 MB / 0.5812 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.4592, allocations: 1.254 MB / 0.5824 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.4623, allocations: 1.814 MB / 0.5842 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007686/0.4631, allocations: 260 kB / 0.5845 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.4656, allocations: 1.049 MB / 0.5855 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002481/0.4681, allocations: 1.601 MB / 0.5871 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003366/0.4715, allocations: 1.817 MB / 0.5888 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009175/0.4807, allocations: 5.809 MB / 0.5945 GB, free: 1.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4807, allocations: 0 / 0.5945 GB, free: 1.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4807, allocations: 0 / 0.5945 GB, free: 1.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001976/0.4809, allocations: 0 / 0.5945 GB, free: 1.988 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.01118/0.4921, allocations: 4.057 MB / 0.5985 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.4921, allocations: 8.031 kB / 0.5985 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000156/0.4923, allocations: 85.16 kB / 0.5986 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001257/0.4935, allocations: 0.616 MB / 0.5992 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006996/0.5005, allocations: 1.8 MB / 0.6009 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/0.5065, allocations: 2.099 MB / 0.603 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.5067, allocations: 196.8 kB / 0.6032 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000657/0.5074, allocations: 263.8 kB / 0.6034 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.5247, allocations: 8.444 MB / 0.6116 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.5249, allocations: 35.69 kB / 0.6117 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/0.5252, allocations: 127.9 kB / 0.6118 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003145/0.5284, allocations: 1.699 MB / 0.6135 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.5437, allocations: 7.11 MB / 0.6204 GB, free: 6.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05056/0.5943, allocations: 33.96 MB / 0.6536 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00854/0.6028, allocations: 2.738 MB / 0.6562 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/0.6049, allocations: 1.366 MB / 0.6576 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007233/0.6121, allocations: 3.688 MB / 0.6612 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.6122, allocations: 55.03 kB / 0.6612 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.496e-06/0.6122, allocations: 0 / 0.6612 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03102/0.6432, allocations: 11.51 MB / 0.6725 GB, free: 156 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.6434, allocations: 170.9 kB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006356/0.6497, allocations: 3.734 MB / 0.6763 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003151/0.65, allocations: 41.7 kB / 0.6763 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003377/0.6534, allocations: 2.866 MB / 0.6791 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.6544, allocations: 0.539 MB / 0.6797 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001661/0.6561, allocations: 1.08 MB / 0.6807 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002295/0.6563, allocations: 309.1 kB / 0.681 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.6591, allocations: 1.697 MB / 0.6827 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006256/0.6654, allocations: 5.127 MB / 0.6877 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.6766, allocations: 7.415 MB / 0.6949 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/0.6767, allocations: 36 kB / 0.6949 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01513/0.6918, allocations: 6.717 MB / 0.7015 GB, free: 14.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.692, allocations: 60 kB / 0.7016 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002512/0.6922, allocations: 120 kB / 0.7017 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008159/0.6931, allocations: 321.2 kB / 0.702 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004621/0.6977, allocations: 1.24 MB / 0.7032 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/0.701, allocations: 2.397 MB / 0.7055 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004122/0.7051, allocations: 295.7 kB / 0.7058 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009697/0.7061, allocations: 332 kB / 0.7061 GB, free: 10.04 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.00424/0.7104, allocations: 1.787 MB / 0.7079 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009524/0.7113, allocations: 325.8 kB / 0.7082 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005485/0.7168, allocations: 2.37 MB / 0.7105 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/0.7168, allocations: 12 kB / 0.7105 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.7168, allocations: 4 kB / 0.7105 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.7169, allocations: 7.984 kB / 0.7105 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.7303, allocations: 5.889 MB / 0.7163 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.7303, allocations: 0 / 0.7163 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009/0.7312, allocations: 180.2 kB / 0.7164 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/0.7334, allocations: 0.7069 MB / 0.7171 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.7335, allocations: 24 kB / 0.7172 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006712/0.7402, allocations: 4.718 MB / 0.7218 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.7402, allocations: 4 kB / 0.7218 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007619/0.7479, allocations: 4.353 MB / 0.726 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.7489, allocations: 301.6 kB / 0.7263 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/0.7492, allocations: 23.94 kB / 0.7263 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.7503, allocations: 79.95 kB / 0.7264 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.7505, allocations: 72.45 kB / 0.7265 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.63e-05/0.7506, allocations: 32 kB / 0.7265 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003866/0.7545, allocations: 2.323 MB / 0.7288 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7545, allocations: 0 / 0.7288 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004749/0.7592, allocations: 0.8007 MB / 0.7296 GB, free: 1.824 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.2953/1.055, allocations: 4.969 MB / 0.7344 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005616/1.06, allocations: 3.895 MB / 0.7382 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/1.06, allocations: 0 / 0.7382 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/1.061, allocations: 1.046 MB / 0.7392 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/1.064, allocations: 378 kB / 0.7396 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0419/1.105, allocations: 37.79 MB / 0.7765 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/1.108, allocations: 2.784 MB / 0.7792 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003052/1.111, allocations: 1.658 MB / 0.7808 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/1.113, allocations: 1.522 MB / 0.7823 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.323e-06/1.113, allocations: 0 / 0.7823 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/1.214, allocations: 62.37 MB / 0.8432 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.98/27.2, allocations: 11.86 kB / 0.8433 GB, free: 50.79 MB / 0.5606 GB " [Timeout remaining time 633] (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: 31.271235948021058]