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: 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.00154/0.00154, 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.543/1.543, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2453/0.2453, allocations: 46.94 MB / 361.7 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 71.89 kB / 0.4969 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4081, allocations: 66.04 MB / 0.5614 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01344/0.4215, allocations: 10.31 MB / 0.5715 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009415/0.431, allocations: 3.839 MB / 0.5752 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.4329, allocations: 67.62 kB / 0.5753 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00438/0.4373, allocations: 1.985 MB / 0.5772 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005042/0.4424, allocations: 1.669 MB / 0.5789 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.444, allocations: 0.616 MB / 0.5795 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005211/0.4492, allocations: 3.365 MB / 0.5828 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002934/0.4522, allocations: 2.126 MB / 0.5848 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.4542, allocations: 1.257 MB / 0.5861 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.4568, allocations: 1.814 MB / 0.5878 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004577/0.4572, allocations: 256 kB / 0.5881 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.4591, allocations: 1.049 MB / 0.5891 GB, free: 8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.4607, allocations: 1.601 MB / 0.5907 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.4626, allocations: 1.817 MB / 0.5924 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006783/0.4694, allocations: 5.816 MB / 0.5981 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4694, allocations: 0 / 0.5981 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4694, allocations: 4 kB / 0.5981 GB, free: 14.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001017/0.4695, allocations: 0 / 0.5981 GB, free: 14.72 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.007502/0.477, allocations: 4.046 MB / 0.6021 GB, free: 10.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.477, allocations: 12.03 kB / 0.6021 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001008/0.4771, allocations: 89.16 kB / 0.6022 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000742/0.4779, allocations: 0.6043 MB / 0.6028 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006348/0.4842, allocations: 1.804 MB / 0.6045 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004514/0.4887, allocations: 2.106 MB / 0.6066 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.4889, allocations: 192.8 kB / 0.6068 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000469/0.4894, allocations: 255.8 kB / 0.607 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.5043, allocations: 8.451 MB / 0.6153 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.5044, allocations: 35.69 kB / 0.6153 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000357/0.5047, allocations: 123.9 kB / 0.6154 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002941/0.5077, allocations: 1.707 MB / 0.6171 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.5229, allocations: 7.106 MB / 0.624 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04909/0.572, allocations: 33.96 MB / 0.6572 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008112/0.5801, allocations: 2.734 MB / 0.6599 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.5824, allocations: 1.366 MB / 0.6612 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007626/0.5901, allocations: 3.684 MB / 0.6648 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.5901, allocations: 59.09 kB / 0.6649 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.118e-06/0.5901, allocations: 3.938 kB / 0.6649 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.02923/0.6194, allocations: 11.51 MB / 0.6761 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.6195, allocations: 170.9 kB / 0.6763 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005336/0.6248, allocations: 3.734 MB / 0.6799 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.625, allocations: 45.7 kB / 0.68 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002243/0.6272, allocations: 2.862 MB / 0.6827 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/0.6278, allocations: 0.5432 MB / 0.6833 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/0.6293, allocations: 1.084 MB / 0.6843 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6294, allocations: 301.1 kB / 0.6846 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/0.6321, allocations: 1.708 MB / 0.6863 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005838/0.638, allocations: 5.123 MB / 0.6913 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009427/0.6474, allocations: 7.409 MB / 0.6985 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.26e-05/0.6475, allocations: 36 kB / 0.6986 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01286/0.6603, allocations: 6.715 MB / 0.7051 GB, free: 11.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-05/0.6604, allocations: 56 kB / 0.7052 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/0.6606, allocations: 124 kB / 0.7053 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.6613, allocations: 321.4 kB / 0.7056 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004326/0.6656, allocations: 1.244 MB / 0.7068 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.6686, allocations: 2.397 MB / 0.7092 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/0.6723, allocations: 295.7 kB / 0.7094 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000555/0.6729, allocations: 332 kB / 0.7098 GB, free: 6.785 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.003012/0.6759, allocations: 1.783 MB / 0.7115 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006147/0.6765, allocations: 337.7 kB / 0.7118 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005429/0.6819, allocations: 2.355 MB / 0.7141 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/0.682, allocations: 20.03 kB / 0.7141 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.682, allocations: 4 kB / 0.7141 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.682, allocations: 7.984 kB / 0.7141 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.6945, allocations: 5.889 MB / 0.7199 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.6945, allocations: 4 kB / 0.7199 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/0.6954, allocations: 175.7 kB / 0.7201 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/0.6977, allocations: 0.7108 MB / 0.7208 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.524e-05/0.6978, allocations: 19.98 kB / 0.7208 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006965/0.7048, allocations: 4.711 MB / 0.7254 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7048, allocations: 0 / 0.7254 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007431/0.7122, allocations: 4.35 MB / 0.7296 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.7133, allocations: 305.7 kB / 0.7299 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.7136, allocations: 24 kB / 0.7299 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.7147, allocations: 79.89 kB / 0.73 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/0.7151, allocations: 68.52 kB / 0.7301 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.7152, allocations: 35.94 kB / 0.7301 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2704/0.9856, allocations: 2.318 MB / 0.7324 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9856, allocations: 0.5 kB / 0.7324 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00539/0.991, allocations: 0.8056 MB / 0.7332 GB, free: 153.8 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.006563/0.9975, allocations: 4.968 MB / 0.738 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005286/1.003, allocations: 3.9 MB / 0.7418 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.003, allocations: 0 / 0.7418 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/1.004, allocations: 1.044 MB / 0.7429 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/1.006, allocations: 379.7 kB / 0.7432 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04329/1.05, allocations: 37.79 MB / 0.7801 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/1.052, allocations: 2.785 MB / 0.7828 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003046/1.055, allocations: 1.656 MB / 0.7845 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.057, allocations: 1.522 MB / 0.7859 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of SimCode: time 2.064e-06/1.057, allocations: 4 kB / 0.786 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09522/1.152, allocations: 62.36 MB / 0.8468 GB, free: 44.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.07/27.22, allocations: 19.84 kB / 0.8469 GB, free: 44.78 MB / 0.5606 GB " [Timeout remaining time 633] (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: 31.49521038099192]