Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 104 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 192.1 kB / 18.56 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1976/0.1976, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 68.91 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.109, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01098/0.12, allocations: 10.53 MB / 479.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006349/0.1264, allocations: 3.2 MB / 483.1 MB, free: 496 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.1279, allocations: 59.81 kB / 483.1 MB, free: 436 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004458/0.1323, allocations: 2.355 MB / 485.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.1358, allocations: 1.221 MB / 486.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.1374, allocations: 0.5185 MB / 487.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003855/0.1413, allocations: 2.944 MB / 490.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003747/0.1451, allocations: 3.021 MB / 493.2 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.147, allocations: 1.265 MB / 494.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.1493, allocations: 1.732 MB / 496.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000761/0.1501, allocations: 296 kB / 496.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.1521, allocations: 0.9909 MB / 497.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001562/0.1537, allocations: 1.609 MB / 499.1 MB, free: 400 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002459/0.1561, allocations: 1.969 MB / 0.4893 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00605/0.1622, allocations: 6.047 MB / 0.4952 GB, free: 8.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1622, allocations: 4 kB / 0.4952 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1622, allocations: 0 / 0.4952 GB, free: 8.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002098/0.1625, allocations: 0 / 0.4952 GB, free: 8.34 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.01042/0.1729, allocations: 4.253 MB / 0.4994 GB, free: 4.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1729, allocations: 12.03 kB / 0.4994 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/0.174, allocations: 0.6991 MB / 0.5001 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005839/0.1799, allocations: 1.801 MB / 0.5018 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2208/0.4008, allocations: 1.746 MB / 0.5035 GB, free: 45.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.4011, allocations: 225 kB / 0.5038 GB, free: 45.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.4023, allocations: 299.6 kB / 0.504 GB, free: 45.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/0.4233, allocations: 10.63 MB / 0.5144 GB, free: 41.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/0.4234, allocations: 41.92 kB / 0.5145 GB, free: 41.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004133/0.4239, allocations: 144.4 kB / 0.5146 GB, free: 41.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003488/0.4274, allocations: 2.048 MB / 0.5166 GB, free: 40.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/0.445, allocations: 9.321 MB / 0.5257 GB, free: 36.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03822/0.4832, allocations: 38.01 MB / 0.5628 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.4939, allocations: 4.172 MB / 0.5669 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003127/0.4971, allocations: 2.305 MB / 0.5691 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008862/0.506, allocations: 6.014 MB / 0.575 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.5061, allocations: 63.73 kB / 0.5751 GB, free: 400 kB / 398.1 MB Notification: Performance of pre-optimization done (n=181): time 5.46e-06/0.5061, allocations: 0 / 0.5751 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=210): time 0.06182/0.5679, allocations: 21.95 MB / 0.5965 GB, free: 10.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.568, allocations: 153.8 kB / 0.5967 GB, free: 10.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004963/0.573, allocations: 3.39 MB / 0.6 GB, free: 6.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002923/0.5733, allocations: 53.7 kB / 0.6 GB, free: 6.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.5751, allocations: 2.798 MB / 0.6028 GB, free: 3.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008188/0.5759, allocations: 0.7903 MB / 0.6035 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/0.5774, allocations: 1.198 MB / 0.6047 GB, free: 1.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.5775, allocations: 305.1 kB / 0.605 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003494/0.581, allocations: 2.331 MB / 0.6073 GB, free: 15.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005964/0.587, allocations: 5.781 MB / 0.6129 GB, free: 7.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/0.5976, allocations: 8.803 MB / 0.6215 GB, free: 13.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.615e-05/0.5977, allocations: 36 kB / 0.6215 GB, free: 13.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01514/0.6129, allocations: 8.675 MB / 0.63 GB, free: 4.414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.079e-05/0.613, allocations: 60 kB / 0.6301 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/0.6132, allocations: 124.2 kB / 0.6302 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002687/0.6158, allocations: 1.045 MB / 0.6312 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004586/0.6204, allocations: 1.372 MB / 0.6325 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005796/0.6263, allocations: 5.817 MB / 0.6382 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/0.6309, allocations: 331.5 kB / 0.6385 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009036/0.6318, allocations: 356 kB / 0.6389 GB, free: 11.03 MB / 478.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.003309/0.6351, allocations: 1.943 MB / 0.6408 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/0.6358, allocations: 308 kB / 0.6411 GB, free: 8.766 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00688/0.6427, allocations: 3.932 MB / 0.6449 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-05/0.6427, allocations: 31.97 kB / 0.6449 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/0.6428, allocations: 4 kB / 0.6449 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.6428, allocations: 11.97 kB / 0.645 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/0.6597, allocations: 8.879 MB / 0.6536 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/0.6598, allocations: 4 kB / 0.6536 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.6615, allocations: 351.4 kB / 0.654 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/0.664, allocations: 0.8773 MB / 0.6548 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/0.6643, allocations: 39.98 kB / 0.6549 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004886/0.6692, allocations: 5.088 MB / 0.6598 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6692, allocations: 0 / 0.6598 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009928/0.6791, allocations: 6.868 MB / 0.6665 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008807/0.68, allocations: 352.9 kB / 0.6669 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007408/0.6808, allocations: 39.94 kB / 0.6669 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/0.6825, allocations: 115.8 kB / 0.667 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003844/0.6829, allocations: 121.1 kB / 0.6671 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/0.6831, allocations: 55.94 kB / 0.6672 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004107/0.6872, allocations: 2.081 MB / 0.6692 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6872, allocations: 0 / 0.6692 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004908/0.6921, allocations: 0.9636 MB / 0.6702 GB, free: 10.51 MB / 0.4981 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.01104/0.7032, allocations: 7.536 MB / 0.6775 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01445/0.7177, allocations: 7.843 MB / 0.6852 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.7177, allocations: 0 / 0.6852 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004559/0.7223, allocations: 2.468 MB / 0.6876 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/0.7256, allocations: 351.9 kB / 0.6879 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2732/0.9988, allocations: 48.42 MB / 0.7352 GB, free: 144 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/1.001, allocations: 3.019 MB / 0.7382 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00385/1.005, allocations: 1.857 MB / 0.74 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/1.007, allocations: 1.711 MB / 0.7416 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/1.007, allocations: 2.344 kB / 0.7417 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/1.134, allocations: 67.91 MB / 0.808 GB, free: 74.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.15, allocations: 14.81 kB / 0.808 GB, free: 74.06 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/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_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches