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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 71.88 kB / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3857, allocations: 62.44 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01253/0.3982, allocations: 10.5 MB / 0.5408 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007956/0.4062, allocations: 3.249 MB / 0.5439 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.4092, allocations: 53.66 kB / 0.544 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00551/0.4148, allocations: 2.376 MB / 0.5463 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004684/0.4195, allocations: 1.246 MB / 0.5475 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.4215, allocations: 0.5177 MB / 0.548 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005709/0.4272, allocations: 2.925 MB / 0.5509 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004283/0.4316, allocations: 3.035 MB / 0.5539 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.4342, allocations: 1.265 MB / 0.5551 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.4374, allocations: 1.717 MB / 0.5568 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.4385, allocations: 296 kB / 0.5571 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.4412, allocations: 1.003 MB / 0.558 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00215/0.4434, allocations: 1.586 MB / 0.5596 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003421/0.4468, allocations: 1.961 MB / 0.5615 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009389/0.4562, allocations: 6.268 MB / 0.5676 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.4563, allocations: 0 / 0.5676 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4563, allocations: 0 / 0.5676 GB, free: 11.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002321/0.4566, allocations: 0 / 0.5676 GB, free: 11.68 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.009756/0.4663, allocations: 4.348 MB / 0.5719 GB, free: 7.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4664, allocations: 8.031 kB / 0.5719 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001041/0.4674, allocations: 0.703 MB / 0.5726 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005897/0.4734, allocations: 1.835 MB / 0.5744 GB, free: 4.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004071/0.4775, allocations: 1.777 MB / 0.5761 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.4777, allocations: 229.8 kB / 0.5763 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/0.4788, allocations: 295.9 kB / 0.5766 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01932/0.4982, allocations: 10.65 MB / 0.587 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4983, allocations: 39.67 kB / 0.587 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004807/0.4988, allocations: 143.9 kB / 0.5872 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00325/0.5021, allocations: 2.04 MB / 0.5892 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01923/0.5213, allocations: 9.356 MB / 0.5983 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05346/0.5749, allocations: 37.9 MB / 0.6353 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.5856, allocations: 4.204 MB / 0.6394 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003133/0.5888, allocations: 2.312 MB / 0.6417 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009986/0.5988, allocations: 6.105 MB / 0.6476 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.555e-05/0.5989, allocations: 51.88 kB / 0.6477 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 6.051e-06/0.599, allocations: 4 kB / 0.6477 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06674/0.6657, allocations: 22.23 MB / 0.6694 GB, free: 1.031 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.6659, allocations: 145.8 kB / 0.6695 GB, free: 0.8555 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007586/0.6735, allocations: 3.383 MB / 0.6728 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005633/0.6741, allocations: 57.64 kB / 0.6729 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002468/0.6766, allocations: 2.924 MB / 0.6757 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/0.6779, allocations: 0.8256 MB / 0.6766 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003344/0.6813, allocations: 1.199 MB / 0.6777 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6815, allocations: 305.1 kB / 0.678 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004198/0.6857, allocations: 2.342 MB / 0.6803 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006726/0.6924, allocations: 5.785 MB / 0.686 GB, free: 14.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/0.7035, allocations: 8.826 MB / 0.6946 GB, free: 3.734 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/0.7036, allocations: 32 kB / 0.6946 GB, free: 3.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01716/0.7208, allocations: 8.713 MB / 0.7031 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.721, allocations: 60.03 kB / 0.7032 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/0.7213, allocations: 124 kB / 0.7033 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/0.7242, allocations: 1.03 MB / 0.7043 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/0.7291, allocations: 1.388 MB / 0.7056 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006305/0.7355, allocations: 5.819 MB / 0.7113 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004463/0.74, allocations: 331.6 kB / 0.7116 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.7412, allocations: 360 kB / 0.712 GB, free: 1.578 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.004281/0.7455, allocations: 1.936 MB / 0.7139 GB, free: 15.63 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008941/0.7464, allocations: 329.8 kB / 0.7142 GB, free: 15.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007905/0.7543, allocations: 3.959 MB / 0.7181 GB, free: 11.32 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.183e-05/0.7544, allocations: 24 kB / 0.7181 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/0.7544, allocations: 11.94 kB / 0.7181 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.042e-05/0.7545, allocations: 7.969 kB / 0.7181 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/0.7733, allocations: 8.811 MB / 0.7267 GB, free: 2.367 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/0.7734, allocations: 0 / 0.7267 GB, free: 2.367 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.7752, allocations: 351.5 kB / 0.727 GB, free: 2.023 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/0.7777, allocations: 0.8696 MB / 0.7279 GB, free: 1.141 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003352/0.7781, allocations: 39.94 kB / 0.7279 GB, free: 1.102 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2735/1.052, allocations: 5.13 MB / 0.7329 GB, free: 175.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.052, allocations: 3.656 kB / 0.7329 GB, free: 175.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/1.062, allocations: 6.922 MB / 0.7397 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008147/1.063, allocations: 368.1 kB / 0.7401 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006236/1.063, allocations: 35.78 kB / 0.7401 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/1.065, allocations: 119.3 kB / 0.7402 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004249/1.065, allocations: 125.2 kB / 0.7403 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.066, allocations: 55.16 kB / 0.7404 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00336/1.069, allocations: 2.078 MB / 0.7424 GB, free: 171.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.2e-07/1.069, allocations: 0 / 0.7424 GB, free: 171.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004682/1.074, allocations: 0.9498 MB / 0.7433 GB, free: 171.5 MB / 0.5763 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.009487/1.083, allocations: 7.582 MB / 0.7507 GB, free: 168.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008991/1.092, allocations: 6.157 MB / 0.7567 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.092, allocations: 0 / 0.7567 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/1.096, allocations: 2.488 MB / 0.7592 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.099, allocations: 352 kB / 0.7595 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05687/1.156, allocations: 44.21 MB / 0.8027 GB, free: 113.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004007/1.16, allocations: 3.013 MB / 0.8056 GB, free: 110.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00428/1.164, allocations: 1.869 MB / 0.8075 GB, free: 108.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002721/1.167, allocations: 1.71 MB / 0.8091 GB, free: 107.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.753e-06/1.167, allocations: 0 / 0.8091 GB, free: 107.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/1.268, allocations: 64.21 MB / 0.8718 GB, free: 43.26 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.9/19.17, allocations: 14.95 kB / 0.8718 GB, free: 43.25 MB / 0.5763 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches