Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 180.5 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4268/0.4268, allocations: 43.57 MB / 315 MB, free: 8.723 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005126/0.0005126, allocations: 12.56 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1471, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.314/0.4612, allocations: 37.45 MB / 480.9 MB, free: 25.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02118/0.4825, allocations: 7.809 MB / 488.7 MB, free: 22.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01136/0.4939, allocations: 159.8 kB / 488.9 MB, free: 22.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.4963, allocations: 394.9 kB / 489.2 MB, free: 22.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.5015, allocations: 1.152 MB / 490.4 MB, free: 21.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.5033, allocations: 476.2 kB / 490.9 MB, free: 21.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00713/0.5105, allocations: 4.343 MB / 495.2 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006475/0.517, allocations: 4.177 MB / 499.4 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002187/0.5192, allocations: 0.9359 MB / 0.4886 GB, free: 17.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.5222, allocations: 1.593 MB / 0.4901 GB, free: 17.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006941/0.5229, allocations: 130.6 kB / 0.4903 GB, free: 17.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.5253, allocations: 0.8718 MB / 0.4911 GB, free: 17.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002177/0.5275, allocations: 1.443 MB / 0.4925 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002956/0.5304, allocations: 1.795 MB / 0.4943 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.5422, allocations: 5.809 MB / 0.5 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.998e-06/0.5423, allocations: 2.078 kB / 0.5 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.558e-06/0.5423, allocations: 0 / 0.5 GB, free: 13.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004676/0.5427, allocations: 4 kB / 0.5 GB, free: 13.82 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.01345/0.5562, allocations: 3.466 MB / 0.5034 GB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.5563, allocations: 12.47 kB / 0.5034 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008669/0.565, allocations: 1.849 MB / 0.5052 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007921/0.573, allocations: 1.752 MB / 0.5069 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003713/0.5734, allocations: 228 kB / 0.5071 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002064/0.5755, allocations: 304.1 kB / 0.5074 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/0.6005, allocations: 10.63 MB / 0.5178 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/0.6007, allocations: 39.66 kB / 0.5178 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005206/0.6013, allocations: 143.8 kB / 0.5179 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003302/0.6046, allocations: 2.044 MB / 0.5199 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02329/0.6279, allocations: 9.332 MB / 0.5291 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05539/0.6833, allocations: 38.04 MB / 0.5662 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.6945, allocations: 4.168 MB / 0.5703 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003253/0.6978, allocations: 2.305 MB / 0.5725 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009403/0.7073, allocations: 6.01 MB / 0.5784 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.7074, allocations: 55.81 kB / 0.5784 GB, free: 3.305 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.741e-06/0.7074, allocations: 4 kB / 0.5785 GB, free: 3.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06599/0.7734, allocations: 21.95 MB / 0.5999 GB, free: 13.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.7735, allocations: 145.8 kB / 0.6 GB, free: 13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00623/0.7797, allocations: 3.383 MB / 0.6033 GB, free: 9.605 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006803/0.7804, allocations: 61.7 kB / 0.6034 GB, free: 9.539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002277/0.7827, allocations: 2.794 MB / 0.6061 GB, free: 6.703 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001234/0.784, allocations: 0.7943 MB / 0.6069 GB, free: 5.898 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007594/0.7847, allocations: 0.4992 MB / 0.6074 GB, free: 5.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.7849, allocations: 309 kB / 0.6077 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004124/0.789, allocations: 2.327 MB / 0.61 GB, free: 2.754 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006798/0.7958, allocations: 5.781 MB / 0.6156 GB, free: 11.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/0.8075, allocations: 8.8 MB / 0.6242 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/0.8077, allocations: 35.94 kB / 0.6242 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01911/0.8268, allocations: 8.691 MB / 0.6327 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.023e-05/0.8269, allocations: 56 kB / 0.6328 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/0.8271, allocations: 124.8 kB / 0.6329 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002772/0.8299, allocations: 1.045 MB / 0.6339 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005182/0.8351, allocations: 1.369 MB / 0.6352 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3252/1.16, allocations: 5.42 MB / 0.6405 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005788/1.166, allocations: 323.1 kB / 0.6408 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001335/1.167, allocations: 357 kB / 0.6412 GB, free: 127.4 MB / 0.4981 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.004445/1.172, allocations: 1.939 MB / 0.6431 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006779/1.173, allocations: 313.7 kB / 0.6434 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007039/1.18, allocations: 3.946 MB / 0.6472 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.425e-05/1.18, allocations: 22.88 kB / 0.6473 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/1.18, allocations: 5.562 kB / 0.6473 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.18, allocations: 10.22 kB / 0.6473 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/1.195, allocations: 8.884 MB / 0.6559 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.195, allocations: 3.75 kB / 0.6559 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.196, allocations: 345.8 kB / 0.6563 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/1.199, allocations: 0.872 MB / 0.6571 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/1.199, allocations: 40.92 kB / 0.6572 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/1.204, allocations: 4.744 MB / 0.6618 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.204, allocations: 1.031 kB / 0.6618 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.216, allocations: 6.865 MB / 0.6685 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.218, allocations: 0.6848 MB / 0.6692 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/1.218, allocations: 35.73 kB / 0.6692 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.22, allocations: 117.7 kB / 0.6693 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/1.22, allocations: 126.5 kB / 0.6694 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.22, allocations: 56.36 kB / 0.6695 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003715/1.224, allocations: 2.082 MB / 0.6715 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.224, allocations: 1.75 kB / 0.6715 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005373/1.229, allocations: 0.9731 MB / 0.6725 GB, free: 117.7 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.0005303/1.23, allocations: 174.7 kB / 0.6726 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.241, allocations: 6.112 MB / 0.6786 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.241, allocations: 1.188 kB / 0.6786 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003855/1.244, allocations: 2.463 MB / 0.681 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/1.247, allocations: 337.2 kB / 0.6813 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.264, allocations: 11.15 MB / 0.6922 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003198/1.267, allocations: 3.025 MB / 0.6952 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004589/1.272, allocations: 1.857 MB / 0.697 GB, free: 107 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008053/1.273, allocations: 239.5 kB / 0.6972 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/1.273, allocations: 3.812 kB / 0.6972 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.05856/1.331, allocations: 35.24 MB / 0.7316 GB, free: 72.72 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches