Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00174/0.00174, 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.001865/0.001865, allocations: 213.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.624/1.624, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2526/0.2526, allocations: 46.95 MB / 360.8 MB, free: 3.941 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.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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 79.88 kB / 0.4966 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.401, allocations: 66.09 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005161/0.4062, allocations: 3 MB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.4081, allocations: 0.81 MB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.4086, allocations: 15.88 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.4089, allocations: 67.25 kB / 0.565 GB, free: 56 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.4095, allocations: 178.5 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.4099, allocations: 111.8 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009144/0.4108, allocations: 0.5986 MB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.4111, allocations: 113.8 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.4115, allocations: 227.2 kB / 0.5662 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.4119, allocations: 214.9 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-05/0.412, allocations: 44 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.4121, allocations: 44 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.4122, allocations: 103.6 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.4126, allocations: 227 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006522/0.4132, allocations: 0.5665 MB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4132, allocations: 4 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4132, allocations: 0 / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.4133, allocations: 0 / 0.5673 GB, free: 13.64 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.001217/0.4145, allocations: 0.6921 MB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4145, allocations: 15.97 kB / 0.568 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.4146, allocations: 60.61 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.4151, allocations: 264.7 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.4151, allocations: 37.38 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.4153, allocations: 52.33 kB / 0.5684 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/0.416, allocations: 438.9 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.416, allocations: 11.95 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.416, allocations: 20 kB / 0.5688 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.4161, allocations: 12 kB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.4166, allocations: 308.5 kB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.4183, allocations: 0.9404 MB / 0.5701 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007728/0.419, allocations: 381 kB / 0.5704 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.4194, allocations: 190.9 kB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.4194, allocations: 12.42 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.4194, allocations: 39 kB / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.555e-06/0.4194, allocations: 0 / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.00314/0.4226, allocations: 1.845 MB / 0.5725 GB, free: 8.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.4227, allocations: 85.61 kB / 0.5726 GB, free: 8.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.4229, allocations: 241.8 kB / 0.5728 GB, free: 7.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.4229, allocations: 45.64 kB / 0.5728 GB, free: 7.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.4231, allocations: 209.3 kB / 0.573 GB, free: 7.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.4234, allocations: 285.5 kB / 0.5733 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.4235, allocations: 118.7 kB / 0.5734 GB, free: 7.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4237, allocations: 358.7 kB / 0.5738 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.424, allocations: 157.9 kB / 0.5739 GB, free: 6.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.4244, allocations: 276.9 kB / 0.5742 GB, free: 6.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.4251, allocations: 470.6 kB / 0.5746 GB, free: 5.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4251, allocations: 0 / 0.5746 GB, free: 5.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009121/0.426, allocations: 0.5632 MB / 0.5752 GB, free: 5.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.426, allocations: 8 kB / 0.5752 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.426, allocations: 288 / 0.5752 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.426, allocations: 12 kB / 0.5752 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.4267, allocations: 179.8 kB / 0.5754 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.727e-05/0.4267, allocations: 15.94 kB / 0.5754 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.427, allocations: 20 kB / 0.5754 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.427, allocations: 24 kB / 0.5754 GB, free: 4.977 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.0002414/0.4273, allocations: 181.6 kB / 0.5756 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4274, allocations: 51.7 kB / 0.5756 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.4275, allocations: 55.62 kB / 0.5757 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.4275, allocations: 12 kB / 0.5757 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.4275, allocations: 0 / 0.5757 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.4275, allocations: 3.984 kB / 0.5757 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.4298, allocations: 1.284 MB / 0.577 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4298, allocations: 4 kB / 0.577 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/0.4304, allocations: 159.8 kB / 0.5771 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.4304, allocations: 8 kB / 0.5771 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.4305, allocations: 16 kB / 0.5771 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.4305, allocations: 4 kB / 0.5771 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.4305, allocations: 7.938 kB / 0.5771 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.4317, allocations: 0.9205 MB / 0.578 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/0.4318, allocations: 35.81 kB / 0.5781 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.4319, allocations: 27.98 kB / 0.5781 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.4322, allocations: 23.88 kB / 0.5781 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.4323, allocations: 44.36 kB / 0.5782 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.4323, allocations: 27.98 kB / 0.5782 GB, free: 1.961 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.4325, allocations: 161.2 kB / 0.5784 GB, free: 1.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4325, allocations: 0 / 0.5784 GB, free: 1.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.433, allocations: 148 kB / 0.5785 GB, free: 1.664 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.0001677/0.4332, allocations: 127.1 kB / 0.5786 GB, free: 1.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007699/0.4339, allocations: 432.3 kB / 0.579 GB, free: 1.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4339, allocations: 3.938 kB / 0.579 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.4343, allocations: 231.3 kB / 0.5793 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008433/0.4351, allocations: 125.7 kB / 0.5794 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.4379, allocations: 1.665 MB / 0.581 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4382, allocations: 246 kB / 0.5812 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.4384, allocations: 56.66 kB / 0.5813 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4385, allocations: 39.44 kB / 0.5813 GB, free: 14.68 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4385, allocations: 0 / 0.5813 GB, free: 14.68 MB / 430.1 MB Notification: Performance of Templates: time 0.01273/0.4513, allocations: 6.004 MB / 0.5872 GB, free: 8.773 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.620386723428965]