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.001738/0.001738, allocations: 120 kB / 18.49 MB, free: 4.562 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.002294/0.002294, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.69/1.69, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2362/0.2362, allocations: 44.9 MB / 355.8 MB, free: 12.31 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.002812/0.002812, allocations: 67.89 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1945, allocations: 65.41 MB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01903/0.2135, allocations: 10.29 MB / 0.5625 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.2258, allocations: 3.83 MB / 0.5662 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.2284, allocations: 71.62 kB / 0.5663 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006057/0.2344, allocations: 1.958 MB / 0.5682 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.241, allocations: 1.677 MB / 0.5698 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.2435, allocations: 0.6199 MB / 0.5705 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007532/0.251, allocations: 3.365 MB / 0.5737 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004427/0.2554, allocations: 2.185 MB / 0.5759 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003369/0.2588, allocations: 1.254 MB / 0.5771 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004052/0.2629, allocations: 1.814 MB / 0.5789 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.2641, allocations: 256 kB / 0.5791 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003532/0.2676, allocations: 1.053 MB / 0.5801 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003117/0.2707, allocations: 1.589 MB / 0.5817 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003916/0.2746, allocations: 1.825 MB / 0.5835 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.2866, allocations: 5.812 MB / 0.5891 GB, free: 4.336 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.2866, allocations: 0 / 0.5891 GB, free: 4.336 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.58e-06/0.2866, allocations: 3.984 kB / 0.5892 GB, free: 4.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002235/0.2868, allocations: 0 / 0.5892 GB, free: 4.332 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.01323/0.3001, allocations: 4.117 MB / 0.5932 GB, free: 144 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.3001, allocations: 12.03 kB / 0.5932 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001539/0.3003, allocations: 85.16 kB / 0.5933 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3003/0.6006, allocations: 0.6052 MB / 0.5939 GB, free: 36.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.6113, allocations: 1.803 MB / 0.5956 GB, free: 36.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006705/0.6181, allocations: 2.167 MB / 0.5977 GB, free: 35.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.6183, allocations: 188 kB / 0.5979 GB, free: 35.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009726/0.6193, allocations: 255 kB / 0.5982 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/0.6354, allocations: 8.461 MB / 0.6064 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.6356, allocations: 43.38 kB / 0.6065 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005168/0.6361, allocations: 123.5 kB / 0.6066 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003323/0.6394, allocations: 1.696 MB / 0.6082 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.6544, allocations: 7.121 MB / 0.6152 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03544/0.6898, allocations: 34.08 MB / 0.6485 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008153/0.698, allocations: 3.177 MB / 0.6516 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.7, allocations: 1.36 MB / 0.6529 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007184/0.7072, allocations: 4.459 MB / 0.6573 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.7073, allocations: 51.06 kB / 0.6573 GB, free: 2.895 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 4.358e-06/0.7073, allocations: 0 / 0.6573 GB, free: 2.895 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.03149/0.7388, allocations: 11.73 MB / 0.6688 GB, free: 7.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.7389, allocations: 174.8 kB / 0.6689 GB, free: 6.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006582/0.7455, allocations: 3.73 MB / 0.6726 GB, free: 3.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002861/0.7458, allocations: 41.7 kB / 0.6726 GB, free: 3.059 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002747/0.7485, allocations: 2.866 MB / 0.6754 GB, free: 168 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.7496, allocations: 0.5392 MB / 0.6759 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002067/0.7516, allocations: 1.084 MB / 0.677 GB, free: 14.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.7518, allocations: 305.1 kB / 0.6773 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/0.7549, allocations: 1.701 MB / 0.6789 GB, free: 12.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006974/0.7619, allocations: 5.119 MB / 0.6839 GB, free: 5.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.7721, allocations: 7.413 MB / 0.6912 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.727e-05/0.7722, allocations: 36 kB / 0.6912 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01381/0.786, allocations: 6.719 MB / 0.6978 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/0.7861, allocations: 56 kB / 0.6978 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/0.7862, allocations: 124 kB / 0.698 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007373/0.787, allocations: 325.3 kB / 0.6983 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/0.7914, allocations: 1.24 MB / 0.6995 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.7946, allocations: 2.506 MB / 0.7019 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00393/0.7985, allocations: 292.4 kB / 0.7022 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008203/0.7994, allocations: 332 kB / 0.7025 GB, free: 0.8008 MB / 0.4981 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.003337/0.8027, allocations: 1.787 MB / 0.7043 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007216/0.8034, allocations: 329.7 kB / 0.7046 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/0.8088, allocations: 2.367 MB / 0.7069 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/0.8089, allocations: 12 kB / 0.7069 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.8089, allocations: 4 kB / 0.7069 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.8089, allocations: 11.92 kB / 0.7069 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.8221, allocations: 5.906 MB / 0.7127 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.8221, allocations: 4 kB / 0.7127 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009266/0.8231, allocations: 175.8 kB / 0.7129 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002377/0.8254, allocations: 0.7147 MB / 0.7136 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.8256, allocations: 27.92 kB / 0.7136 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007029/0.8326, allocations: 4.819 MB / 0.7183 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.8327, allocations: 7.938 kB / 0.7183 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008169/0.8408, allocations: 4.341 MB / 0.7225 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.8421, allocations: 378.7 kB / 0.7229 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006038/0.8427, allocations: 20 kB / 0.7229 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.844, allocations: 71.89 kB / 0.723 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.8443, allocations: 72.56 kB / 0.7231 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.8444, allocations: 39.98 kB / 0.7231 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00451/0.8489, allocations: 2.327 MB / 0.7254 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8489, allocations: 0 / 0.7254 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004558/0.8535, allocations: 0.7968 MB / 0.7261 GB, free: 8.34 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.008438/0.8619, allocations: 4.976 MB / 0.731 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007208/0.8691, allocations: 3.885 MB / 0.7348 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.8691, allocations: 0 / 0.7348 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.8709, allocations: 1.037 MB / 0.7358 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.8732, allocations: 400.6 kB / 0.7362 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0644/0.9376, allocations: 37.73 MB / 0.773 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004352/0.942, allocations: 2.785 MB / 0.7757 GB, free: 284 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004318/0.9463, allocations: 1.66 MB / 0.7774 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002931/0.9492, allocations: 1.522 MB / 0.7789 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of SimCode: time 1.603e-06/0.9492, allocations: 4 kB / 0.7789 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/1.072, allocations: 58.04 MB / 0.8355 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.03/25.11, allocations: 12.05 kB / 0.8355 GB, free: 3.359 MB / 0.6387 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/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.788210764003452]