Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001635/0.001635, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002065/0.002065, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2858/0.2858, allocations: 46.92 MB / 361.6 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 71.88 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.308, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01373/0.3217, allocations: 10.32 MB / 0.5716 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008531/0.3302, allocations: 3.834 MB / 0.5753 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.3318, allocations: 67.69 kB / 0.5754 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004382/0.3362, allocations: 1.981 MB / 0.5773 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005127/0.3413, allocations: 1.677 MB / 0.579 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.3431, allocations: 0.6043 MB / 0.5796 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005639/0.3488, allocations: 3.368 MB / 0.5828 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003385/0.3522, allocations: 2.133 MB / 0.5849 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.3547, allocations: 1.257 MB / 0.5862 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/0.3579, allocations: 1.81 MB / 0.5879 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008796/0.3588, allocations: 252 kB / 0.5882 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.3614, allocations: 1.053 MB / 0.5892 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002347/0.3637, allocations: 1.605 MB / 0.5908 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003318/0.3671, allocations: 1.817 MB / 0.5925 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009395/0.3765, allocations: 5.809 MB / 0.5982 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.3765, allocations: 4 kB / 0.5982 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3765, allocations: 0 / 0.5982 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002267/0.3767, allocations: 0 / 0.5982 GB, free: 14.51 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.01006/0.3867, allocations: 4.053 MB / 0.6022 GB, free: 10.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3868, allocations: 8.031 kB / 0.6022 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001294/0.3869, allocations: 89.16 kB / 0.6023 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00169/0.3886, allocations: 0.6082 MB / 0.6029 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00747/0.3961, allocations: 1.8 MB / 0.6046 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006286/0.4024, allocations: 2.106 MB / 0.6067 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.4026, allocations: 188.8 kB / 0.6068 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.4038, allocations: 259.8 kB / 0.6071 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.4226, allocations: 8.455 MB / 0.6154 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.4227, allocations: 39.62 kB / 0.6154 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007623/0.4235, allocations: 123.9 kB / 0.6155 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003432/0.4269, allocations: 1.699 MB / 0.6172 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01607/0.443, allocations: 7.11 MB / 0.6241 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05148/0.4945, allocations: 33.97 MB / 0.6573 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008372/0.5028, allocations: 2.726 MB / 0.6599 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.5051, allocations: 1.367 MB / 0.6613 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009619/0.5147, allocations: 3.692 MB / 0.6649 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.833e-05/0.5148, allocations: 51.09 kB / 0.6649 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 5.18e-06/0.5148, allocations: 0 / 0.6649 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03617/0.551, allocations: 11.52 MB / 0.6762 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.5511, allocations: 170.8 kB / 0.6763 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008337/0.5595, allocations: 3.734 MB / 0.68 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003744/0.5599, allocations: 41.7 kB / 0.68 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00326/0.5631, allocations: 2.866 MB / 0.6828 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/0.5642, allocations: 0.539 MB / 0.6834 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002308/0.5665, allocations: 1.088 MB / 0.6844 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.5667, allocations: 305.1 kB / 0.6847 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/0.57, allocations: 1.701 MB / 0.6864 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006796/0.5768, allocations: 5.12 MB / 0.6914 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/0.5874, allocations: 7.411 MB / 0.6986 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/0.5876, allocations: 32 kB / 0.6986 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01558/0.6032, allocations: 6.727 MB / 0.7052 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.6033, allocations: 64.2 kB / 0.7053 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/0.6035, allocations: 120 kB / 0.7054 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007445/0.6042, allocations: 316.7 kB / 0.7057 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004296/0.6085, allocations: 1.24 MB / 0.7069 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.6119, allocations: 2.398 MB / 0.7092 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004809/0.6167, allocations: 295.5 kB / 0.7095 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009915/0.6177, allocations: 332 kB / 0.7098 GB, free: 6.566 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.004259/0.6219, allocations: 1.791 MB / 0.7116 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009241/0.6229, allocations: 325.8 kB / 0.7119 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006027/0.6289, allocations: 2.359 MB / 0.7142 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.858e-05/0.629, allocations: 16 kB / 0.7142 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.629, allocations: 4 kB / 0.7142 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/0.629, allocations: 7.969 kB / 0.7142 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.6447, allocations: 5.889 MB / 0.72 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/0.6447, allocations: 0 / 0.72 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.6457, allocations: 175.8 kB / 0.7201 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/0.6483, allocations: 0.7108 MB / 0.7208 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002655/0.6486, allocations: 20 kB / 0.7209 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007981/0.6566, allocations: 4.722 MB / 0.7255 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6566, allocations: 4.031 kB / 0.7255 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009231/0.6658, allocations: 4.357 MB / 0.7297 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.6671, allocations: 301.7 kB / 0.73 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007874/0.6679, allocations: 23.92 kB / 0.73 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.6694, allocations: 67.91 kB / 0.7301 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003843/0.6698, allocations: 72.52 kB / 0.7302 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.6699, allocations: 35.98 kB / 0.7302 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3023/0.9722, allocations: 2.323 MB / 0.7325 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9722, allocations: 0 / 0.7325 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004947/0.9772, allocations: 0.8049 MB / 0.7333 GB, free: 153.7 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.006271/0.9835, allocations: 4.97 MB / 0.7381 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004901/0.9884, allocations: 3.898 MB / 0.7419 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9884, allocations: 0 / 0.7419 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.9895, allocations: 1.034 MB / 0.7429 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.9915, allocations: 387.5 kB / 0.7433 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03725/1.029, allocations: 37.79 MB / 0.7802 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/1.031, allocations: 2.786 MB / 0.7829 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003177/1.034, allocations: 1.658 MB / 0.7845 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/1.037, allocations: 1.526 MB / 0.786 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.383e-06/1.037, allocations: 0 / 0.786 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09739/1.134, allocations: 62.36 MB / 0.8469 GB, free: 44.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.4/25.54, allocations: 3.938 kB / 0.8469 GB, free: 44.25 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 29.787012953020167]