Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001479/0.001479, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001741/0.001741, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.553/1.553, allocations: 230.2 MB / 257.8 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2455/0.2455, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 83.86 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3942, allocations: 65.99 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.006548/0.4007, allocations: 3.309 MB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.4034, allocations: 0.8488 MB / 0.5652 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004797/0.4039, allocations: 4 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.4042, allocations: 79.17 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006487/0.4049, allocations: 170.5 kB / 0.5655 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.4053, allocations: 111.8 kB / 0.5656 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.4063, allocations: 0.6024 MB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003832/0.4067, allocations: 117.4 kB / 0.5663 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004356/0.4071, allocations: 231.3 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.4076, allocations: 235 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.731e-05/0.4077, allocations: 51.94 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.4078, allocations: 47.94 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.4079, allocations: 95.67 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.4083, allocations: 266.7 kB / 0.5672 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009071/0.4092, allocations: 0.5592 MB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.4092, allocations: 4 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.4092, allocations: 0 / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4092, allocations: 0 / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001696/0.4109, allocations: 0.7713 MB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.411, allocations: 8.031 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.4111, allocations: 56.61 kB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.4119, allocations: 330.5 kB / 0.5689 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.412, allocations: 37.38 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.4121, allocations: 64.31 kB / 0.569 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4132, allocations: 438.9 kB / 0.5694 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.437e-05/0.4133, allocations: 11.94 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/0.4133, allocations: 20 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.4133, allocations: 12 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/0.4142, allocations: 308.5 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.4167, allocations: 1.154 MB / 0.5708 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.4178, allocations: 453.9 kB / 0.5713 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/0.4183, allocations: 194.9 kB / 0.5715 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.4183, allocations: 8.438 kB / 0.5715 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.4184, allocations: 43 kB / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 3.045e-06/0.4184, allocations: 0 / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.005035/0.4234, allocations: 2.156 MB / 0.5736 GB, free: 7.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.4235, allocations: 89.61 kB / 0.5737 GB, free: 7.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.4239, allocations: 251 kB / 0.5739 GB, free: 7.543 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.424, allocations: 37.7 kB / 0.574 GB, free: 7.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.4242, allocations: 217.4 kB / 0.5742 GB, free: 7.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.4246, allocations: 281.5 kB / 0.5744 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.4248, allocations: 122.6 kB / 0.5746 GB, free: 6.883 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.4251, allocations: 362.7 kB / 0.5749 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.4256, allocations: 157.9 kB / 0.5751 GB, free: 6.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.4263, allocations: 272.9 kB / 0.5753 GB, free: 6.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.4275, allocations: 466.8 kB / 0.5758 GB, free: 5.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4275, allocations: 0 / 0.5758 GB, free: 5.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001579/0.429, allocations: 0.5722 MB / 0.5763 GB, free: 4.996 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.4291, allocations: 8 kB / 0.5763 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4291, allocations: 4 kB / 0.5763 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/0.4291, allocations: 4 kB / 0.5763 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.4303, allocations: 179.7 kB / 0.5765 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.4303, allocations: 8 kB / 0.5765 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.4308, allocations: 24.27 kB / 0.5765 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.4309, allocations: 35.94 kB / 0.5766 GB, free: 4.738 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003902/0.4313, allocations: 185.6 kB / 0.5767 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.4315, allocations: 43.72 kB / 0.5768 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.4316, allocations: 55.64 kB / 0.5768 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.4317, allocations: 8 kB / 0.5768 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4317, allocations: 0 / 0.5768 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.4317, allocations: 3.984 kB / 0.5769 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.4354, allocations: 1.448 MB / 0.5783 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.4354, allocations: 4 kB / 0.5783 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.4366, allocations: 155.8 kB / 0.5784 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/0.4366, allocations: 8 kB / 0.5784 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.624e-05/0.4367, allocations: 23.94 kB / 0.5785 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.4367, allocations: 7.938 kB / 0.5785 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.4367, allocations: 7.938 kB / 0.5785 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.4387, allocations: 0.9162 MB / 0.5794 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.439, allocations: 116.8 kB / 0.5795 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.4391, allocations: 27.92 kB / 0.5795 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.4396, allocations: 16 kB / 0.5795 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4397, allocations: 48.38 kB / 0.5796 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/0.4398, allocations: 27.94 kB / 0.5796 GB, free: 1.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003223/0.4401, allocations: 177.9 kB / 0.5798 GB, free: 1.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4401, allocations: 0 / 0.5798 GB, free: 1.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009791/0.4411, allocations: 148 kB / 0.5799 GB, free: 1.141 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002257/0.4413, allocations: 119.3 kB / 0.58 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.4426, allocations: 439.6 kB / 0.5804 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4426, allocations: 7.938 kB / 0.5804 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.4431, allocations: 215.4 kB / 0.5806 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.4445, allocations: 135.9 kB / 0.5808 GB, free: 248 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.4491, allocations: 1.663 MB / 0.5824 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/0.4499, allocations: 0.8485 MB / 0.5832 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003698/0.4503, allocations: 56.66 kB / 0.5833 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.4504, allocations: 39.44 kB / 0.5833 GB, free: 13.54 MB / 430.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4504, allocations: 4 kB / 0.5833 GB, free: 13.54 MB / 430.1 MB Notification: Performance of Templates: time 0.02156/0.472, allocations: 5.661 MB / 0.5888 GB, free: 7.941 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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: 5.4226535758934915]