Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.001779/0.001779, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002326/0.002326, allocations: 206 kB / 23.72 MB, free: 4.391 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.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2308/0.2308, allocations: 46.93 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] 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.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 87.86 kB / 0.4962 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3157, allocations: 66.09 MB / 0.5607 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01217/0.3279, allocations: 9.217 MB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006882/0.3348, allocations: 3.112 MB / 0.5727 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.3361, allocations: 63.69 kB / 0.5728 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004571/0.3407, allocations: 2.313 MB / 0.5751 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.3443, allocations: 1.264 MB / 0.5763 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3456, allocations: 0.5146 MB / 0.5768 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004204/0.3498, allocations: 2.931 MB / 0.5797 GB, free: 428 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00292/0.3528, allocations: 2.432 MB / 0.582 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.3545, allocations: 1.289 MB / 0.5833 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.3569, allocations: 1.736 MB / 0.585 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005745/0.3575, allocations: 292 kB / 0.5853 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.3592, allocations: 0.9011 MB / 0.5862 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.3608, allocations: 1.624 MB / 0.5877 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001855/0.3627, allocations: 1.433 MB / 0.5891 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007155/0.3699, allocations: 6.283 MB / 0.5953 GB, free: 340 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3699, allocations: 0 / 0.5953 GB, free: 340 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3699, allocations: 0 / 0.5953 GB, free: 340 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001436/0.37, allocations: 0 / 0.5953 GB, free: 340 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.008261/0.3783, allocations: 4.284 MB / 0.5995 GB, free: 11.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3783, allocations: 12.02 kB / 0.5995 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009418/0.3793, allocations: 0.6913 MB / 0.6001 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006058/0.3853, allocations: 1.839 MB / 0.6019 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004397/0.3897, allocations: 1.728 MB / 0.6036 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.3899, allocations: 233.8 kB / 0.6038 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007616/0.3907, allocations: 303.8 kB / 0.6041 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/0.4111, allocations: 10.7 MB / 0.6146 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.4112, allocations: 35.73 kB / 0.6146 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000389/0.4116, allocations: 143.9 kB / 0.6148 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003705/0.4153, allocations: 2.04 MB / 0.6168 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02387/0.4391, allocations: 9.316 MB / 0.6258 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05393/0.4931, allocations: 36.32 MB / 0.6613 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01658/0.5096, allocations: 3.6 MB / 0.6648 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003511/0.5132, allocations: 2.079 MB / 0.6669 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009742/0.5229, allocations: 4.685 MB / 0.6714 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.523, allocations: 59.8 kB / 0.6715 GB, free: 396 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.39e-06/0.523, allocations: 4 kB / 0.6715 GB, free: 392 kB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06741/0.5904, allocations: 21.94 MB / 0.6929 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.5905, allocations: 149.8 kB / 0.6931 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006346/0.5969, allocations: 3.595 MB / 0.6966 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005752/0.5974, allocations: 57.7 kB / 0.6966 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002381/0.5998, allocations: 2.908 MB / 0.6995 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.6009, allocations: 0.8295 MB / 0.7003 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001896/0.6028, allocations: 1.207 MB / 0.7015 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.603, allocations: 305.1 kB / 0.7017 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/0.6069, allocations: 2.331 MB / 0.704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007168/0.6141, allocations: 5.804 MB / 0.7097 GB, free: 7.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/0.6264, allocations: 8.822 MB / 0.7183 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/0.6266, allocations: 36 kB / 0.7183 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01824/0.6448, allocations: 8.701 MB / 0.7268 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.6449, allocations: 56 kB / 0.7269 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/0.6451, allocations: 120 kB / 0.727 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.6479, allocations: 1.038 MB / 0.728 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/0.6527, allocations: 1.38 MB / 0.7294 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2463/0.899, allocations: 5.563 MB / 0.7348 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/0.9038, allocations: 329.8 kB / 0.7351 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008755/0.9046, allocations: 362.6 kB / 0.7355 GB, free: 148.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003219/0.9079, allocations: 1.941 MB / 0.7374 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/0.9085, allocations: 329.9 kB / 0.7377 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005788/0.9143, allocations: 3.951 MB / 0.7415 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/0.9143, allocations: 23.62 kB / 0.7416 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.9143, allocations: 7.844 kB / 0.7416 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/0.9143, allocations: 10.53 kB / 0.7416 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.9269, allocations: 8.352 MB / 0.7497 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.9269, allocations: 3.75 kB / 0.7497 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.9284, allocations: 344.5 kB / 0.7501 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.9306, allocations: 0.8757 MB / 0.7509 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.9307, allocations: 38.89 kB / 0.7509 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/0.9344, allocations: 4.895 MB / 0.7557 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9344, allocations: 3.562 kB / 0.7557 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008366/0.9428, allocations: 6.911 MB / 0.7625 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009256/0.9437, allocations: 295 kB / 0.7628 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/0.9441, allocations: 36 kB / 0.7628 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.9455, allocations: 123.3 kB / 0.7629 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.9458, allocations: 129 kB / 0.763 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.9459, allocations: 59.92 kB / 0.7631 GB, free: 132 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002541/0.9485, allocations: 2.069 MB / 0.7651 GB, free: 130 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9485, allocations: 0 / 0.7651 GB, free: 130 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003936/0.9524, allocations: 0.9543 MB / 0.766 GB, free: 129 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008351/0.9607, allocations: 7.569 MB / 0.7734 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008127/0.9689, allocations: 5.764 MB / 0.7791 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9689, allocations: 4 kB / 0.7791 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/0.9722, allocations: 2.188 MB / 0.7812 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.9742, allocations: 355.2 kB / 0.7815 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05139/1.026, allocations: 44.28 MB / 0.8248 GB, free: 63.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/1.028, allocations: 2.471 MB / 0.8272 GB, free: 60.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003569/1.032, allocations: 1.861 MB / 0.829 GB, free: 59.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/1.034, allocations: 1.71 MB / 0.8307 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/1.034, allocations: 0 / 0.8307 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/1.139, allocations: 64.84 MB / 0.894 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.25, allocations: 4.062 kB / 0.894 GB, free: 9.168 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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: 19.750334305223078]