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.001861/0.001861, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.003121/0.003121, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.673/1.673, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2458/0.2458, allocations: 46.94 MB / 360.8 MB, free: 3.934 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: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003071/0.003071, allocations: 84.2 kB / 0.4966 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3391, allocations: 66.09 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01276/0.3518, allocations: 9.221 MB / 0.5702 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007213/0.359, allocations: 3.116 MB / 0.5732 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.3602, allocations: 63.69 kB / 0.5733 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004798/0.365, allocations: 2.309 MB / 0.5755 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.3684, allocations: 1.26 MB / 0.5768 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3698, allocations: 0.5185 MB / 0.5773 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004488/0.3743, allocations: 2.918 MB / 0.5801 GB, free: 496 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003197/0.3775, allocations: 2.445 MB / 0.5825 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.3798, allocations: 1.293 MB / 0.5838 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.3827, allocations: 1.732 MB / 0.5855 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006633/0.3834, allocations: 292 kB / 0.5857 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.3853, allocations: 0.9011 MB / 0.5866 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.3871, allocations: 1.624 MB / 0.5882 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001993/0.3891, allocations: 1.429 MB / 0.5896 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008886/0.398, allocations: 6.291 MB / 0.5958 GB, free: 396 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.398, allocations: 0 / 0.5958 GB, free: 396 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.398, allocations: 4 kB / 0.5958 GB, free: 392 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000196/0.3982, allocations: 0 / 0.5958 GB, free: 392 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.01104/0.4092, allocations: 4.28 MB / 0.5999 GB, free: 12.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.4093, allocations: 8.031 kB / 0.5999 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006627/0.4159, allocations: 1.831 MB / 0.6017 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005276/0.4212, allocations: 1.729 MB / 0.6034 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.4214, allocations: 233.7 kB / 0.6036 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.4227, allocations: 295.8 kB / 0.6039 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/0.4448, allocations: 10.7 MB / 0.6144 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.4449, allocations: 31.75 kB / 0.6144 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004231/0.4453, allocations: 147.9 kB / 0.6145 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003707/0.449, allocations: 2.048 MB / 0.6165 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/0.4697, allocations: 9.328 MB / 0.6257 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05063/0.5203, allocations: 35.4 MB / 0.6602 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.5314, allocations: 3.593 MB / 0.6637 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/0.5346, allocations: 2.096 MB / 0.6658 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009711/0.5443, allocations: 4.621 MB / 0.6703 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.366e-05/0.5444, allocations: 55.81 kB / 0.6703 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.721e-06/0.5444, allocations: 0 / 0.6703 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06768/0.6121, allocations: 21.9 MB / 0.6917 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.6122, allocations: 149.8 kB / 0.6919 GB, free: 12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005263/0.6175, allocations: 3.083 MB / 0.6949 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.6178, allocations: 57.7 kB / 0.6949 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002423/0.6203, allocations: 2.946 MB / 0.6978 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009384/0.6212, allocations: 0.8333 MB / 0.6986 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/0.623, allocations: 1.207 MB / 0.6998 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.6232, allocations: 357.9 kB / 0.7001 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/0.6271, allocations: 2.342 MB / 0.7024 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007004/0.6341, allocations: 5.792 MB / 0.7081 GB, free: 9.594 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/0.6459, allocations: 8.825 MB / 0.7167 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/0.646, allocations: 40 kB / 0.7167 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01904/0.6651, allocations: 8.659 MB / 0.7252 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.6652, allocations: 56 kB / 0.7253 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002199/0.6654, allocations: 120 kB / 0.7254 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003026/0.6684, allocations: 1.046 MB / 0.7264 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005208/0.6737, allocations: 1.38 MB / 0.7277 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2772/0.9509, allocations: 5.514 MB / 0.7331 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/0.955, allocations: 327.9 kB / 0.7334 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008531/0.9558, allocations: 358.3 kB / 0.7338 GB, free: 150.1 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.002682/0.9585, allocations: 1.944 MB / 0.7357 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000527/0.959, allocations: 286.9 kB / 0.736 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005911/0.9649, allocations: 3.911 MB / 0.7398 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/0.965, allocations: 22.41 kB / 0.7398 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.965, allocations: 7.531 kB / 0.7398 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.965, allocations: 11.62 kB / 0.7398 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.9768, allocations: 7.631 MB / 0.7473 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.9768, allocations: 3.906 kB / 0.7473 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.9784, allocations: 350.9 kB / 0.7476 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/0.9805, allocations: 0.8708 MB / 0.7485 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/0.9807, allocations: 34.94 kB / 0.7485 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/0.9843, allocations: 4.846 MB / 0.7532 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9843, allocations: 7.75 kB / 0.7532 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008097/0.9924, allocations: 6.867 MB / 0.7599 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/0.9931, allocations: 252.1 kB / 0.7602 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/0.9934, allocations: 32 kB / 0.7602 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.9947, allocations: 129 kB / 0.7603 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.995, allocations: 127.7 kB / 0.7604 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.9951, allocations: 52 kB / 0.7605 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00183/0.9969, allocations: 1.724 MB / 0.7622 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9969, allocations: 1.5 kB / 0.7622 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003859/1.001, allocations: 0.9448 MB / 0.7631 GB, free: 132.8 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.0004138/1.001, allocations: 172.4 kB / 0.7633 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007899/1.009, allocations: 5.77 MB / 0.7689 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.009, allocations: 0 / 0.7689 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003296/1.012, allocations: 2.197 MB / 0.7711 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/1.014, allocations: 273.4 kB / 0.7713 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.026, allocations: 9.208 MB / 0.7803 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/1.029, allocations: 2.477 MB / 0.7827 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003513/1.032, allocations: 1.811 MB / 0.7845 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006597/1.033, allocations: 227.4 kB / 0.7847 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/1.033, allocations: 0 / 0.7847 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05141/1.084, allocations: 33.68 MB / 0.8176 GB, free: 77.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/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: 7.573857648298144]