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.001181/0.001181, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 75.47 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1234, allocations: 62.44 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01063/0.1341, allocations: 10.51 MB / 490.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00635/0.1405, allocations: 3.232 MB / 493.9 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.1416, allocations: 51.88 kB / 493.9 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004149/0.1458, allocations: 2.375 MB / 496.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.149, allocations: 1.209 MB / 497.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1503, allocations: 0.5185 MB / 498 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003489/0.1538, allocations: 2.921 MB / 0.4892 GB, free: 264 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/0.1575, allocations: 3.025 MB / 0.4922 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.1594, allocations: 1.254 MB / 0.4934 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.1616, allocations: 1.721 MB / 0.4951 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005887/0.1622, allocations: 304 kB / 0.4953 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.1639, allocations: 0.9909 MB / 0.4963 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.1653, allocations: 1.589 MB / 0.4979 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.1672, allocations: 1.961 MB / 0.4998 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2441/0.4113, allocations: 5.997 MB / 0.5056 GB, free: 20.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4113, allocations: 0 / 0.5056 GB, free: 20.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4113, allocations: 1.312 kB / 0.5056 GB, free: 20.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002765/0.4116, allocations: 0 / 0.5056 GB, free: 20.85 MB / 382.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.01444/0.4261, allocations: 4.245 MB / 0.5098 GB, free: 19.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.4261, allocations: 10.25 kB / 0.5098 GB, free: 19.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001474/0.4276, allocations: 0.6987 MB / 0.5105 GB, free: 19.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006801/0.4344, allocations: 1.803 MB / 0.5122 GB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/0.4383, allocations: 1.742 MB / 0.5139 GB, free: 18.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.4385, allocations: 233 kB / 0.5142 GB, free: 18.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008019/0.4393, allocations: 302.2 kB / 0.5145 GB, free: 18.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.4609, allocations: 10.65 MB / 0.5249 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.4611, allocations: 41.44 kB / 0.5249 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004192/0.4615, allocations: 150 kB / 0.525 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003515/0.4651, allocations: 2.034 MB / 0.527 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/0.4834, allocations: 9.355 MB / 0.5362 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0437/0.5271, allocations: 38 MB / 0.5733 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.5384, allocations: 4.201 MB / 0.5774 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/0.5414, allocations: 2.303 MB / 0.5796 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008892/0.5503, allocations: 6.11 MB / 0.5856 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.5504, allocations: 55.88 kB / 0.5856 GB, free: 7.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=181): time 4.979e-06/0.5504, allocations: 0 / 0.5856 GB, free: 7.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06607/0.6165, allocations: 22.01 MB / 0.6071 GB, free: 1.141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/0.6166, allocations: 150.2 kB / 0.6073 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004503/0.6211, allocations: 3.376 MB / 0.6106 GB, free: 13.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003973/0.6215, allocations: 52.05 kB / 0.6106 GB, free: 13.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.6234, allocations: 2.798 MB / 0.6134 GB, free: 10.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.6245, allocations: 0.794 MB / 0.6141 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/0.6261, allocations: 1.194 MB / 0.6153 GB, free: 8.762 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6262, allocations: 305.1 kB / 0.6156 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003439/0.6297, allocations: 2.342 MB / 0.6179 GB, free: 6.113 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005846/0.6355, allocations: 5.796 MB / 0.6235 GB, free: 14.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/0.6469, allocations: 8.821 MB / 0.6322 GB, free: 4.633 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001241/0.6471, allocations: 32 kB / 0.6322 GB, free: 4.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01644/0.6635, allocations: 8.698 MB / 0.6407 GB, free: 11.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.58e-05/0.6636, allocations: 56 kB / 0.6407 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.6638, allocations: 124.2 kB / 0.6409 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/0.6665, allocations: 1.046 MB / 0.6419 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004832/0.6714, allocations: 1.38 MB / 0.6432 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/0.6773, allocations: 5.822 MB / 0.6489 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/0.6815, allocations: 335.4 kB / 0.6492 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007535/0.6823, allocations: 360 kB / 0.6496 GB, free: 2.605 MB / 494.1 MB 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.002732/0.685, allocations: 1.937 MB / 0.6515 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/0.6856, allocations: 304.1 kB / 0.6517 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007097/0.6927, allocations: 3.975 MB / 0.6556 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/0.6928, allocations: 27.98 kB / 0.6557 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/0.6928, allocations: 4 kB / 0.6557 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.6928, allocations: 11.97 kB / 0.6557 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.7071, allocations: 8.908 MB / 0.6644 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.7071, allocations: 0 / 0.6644 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.7088, allocations: 351.5 kB / 0.6647 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/0.7114, allocations: 0.8723 MB / 0.6656 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002264/0.7116, allocations: 40 kB / 0.6656 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004987/0.7166, allocations: 5.098 MB / 0.6706 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7166, allocations: 192 / 0.6706 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.7269, allocations: 6.891 MB / 0.6773 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008413/0.7278, allocations: 364.8 kB / 0.6777 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004137/0.7282, allocations: 38.19 kB / 0.6777 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.7297, allocations: 115.8 kB / 0.6778 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003421/0.73, allocations: 119.3 kB / 0.6779 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.7302, allocations: 59.98 kB / 0.678 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002857/0.733, allocations: 2.077 MB / 0.68 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.733, allocations: 0 / 0.68 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005191/0.7382, allocations: 0.9492 MB / 0.6809 GB, free: 2.16 MB / 0.5137 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.01564/0.7539, allocations: 7.54 MB / 0.6883 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01729/0.7713, allocations: 7.858 MB / 0.696 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.7713, allocations: 3.938 kB / 0.696 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00624/0.7775, allocations: 2.482 MB / 0.6984 GB, free: 124 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/0.7809, allocations: 357 kB / 0.6987 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2982/1.079, allocations: 48.42 MB / 0.746 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/1.082, allocations: 3.015 MB / 0.749 GB, free: 169.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004107/1.086, allocations: 1.859 MB / 0.7508 GB, free: 169 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/1.089, allocations: 1.707 MB / 0.7524 GB, free: 167.7 MB / 0.545 GB Notification: Performance of SimCode: time 2.355e-06/1.089, allocations: 0 / 0.7524 GB, free: 167.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09529/1.184, allocations: 67.78 MB / 0.8186 GB, free: 103.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.61, allocations: 5.688 kB / 0.8186 GB, free: 103.2 MB / 0.545 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