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.00142/0.00142, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001786/0.001786, allocations: 210.8 kB / 24.48 MB, free: 3.934 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.472/1.472, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.2319/0.2319, allocations: 46.94 MB / 361.5 MB, free: 3.902 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.00239/0.00239, allocations: 79.86 kB / 0.4974 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3085, allocations: 66.09 MB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004585/0.3131, allocations: 2.99 MB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3147, allocations: 0.806 MB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.3149, allocations: 15.88 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.3151, allocations: 71.25 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.3154, allocations: 178.6 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.3157, allocations: 107.8 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006399/0.3163, allocations: 0.6062 MB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.3166, allocations: 109.8 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.3169, allocations: 235.2 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.3172, allocations: 214.9 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.3172, allocations: 40 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.3173, allocations: 44 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.3174, allocations: 99.62 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.3177, allocations: 227 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.3183, allocations: 0.5704 MB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3183, allocations: 0 / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3183, allocations: 0 / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3183, allocations: 0 / 0.568 GB, free: 13.63 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.001196/0.3195, allocations: 0.696 MB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3195, allocations: 16.02 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/0.3196, allocations: 52.61 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.3202, allocations: 264.7 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.3202, allocations: 41.38 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/0.3203, allocations: 52.33 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007329/0.321, allocations: 434.9 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.3211, allocations: 11.95 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.3211, allocations: 16 kB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3211, allocations: 12 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.3216, allocations: 312.4 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.3233, allocations: 0.9444 MB / 0.5708 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007593/0.3241, allocations: 373.1 kB / 0.5712 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.3244, allocations: 194.9 kB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3244, allocations: 8.656 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.3245, allocations: 54.86 kB / 0.5714 GB, free: 10.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 3.126e-06/0.3245, allocations: 0 / 0.5714 GB, free: 10.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003141/0.3276, allocations: 1.847 MB / 0.5732 GB, free: 8.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.3277, allocations: 85.61 kB / 0.5733 GB, free: 8.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.3279, allocations: 241.8 kB / 0.5735 GB, free: 7.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.328, allocations: 33.7 kB / 0.5736 GB, free: 7.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.3281, allocations: 217.3 kB / 0.5738 GB, free: 7.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.3284, allocations: 285.5 kB / 0.574 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.3285, allocations: 114.7 kB / 0.5741 GB, free: 7.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.3287, allocations: 362.7 kB / 0.5745 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.329, allocations: 153.9 kB / 0.5746 GB, free: 6.594 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.3294, allocations: 284.8 kB / 0.5749 GB, free: 6.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.3301, allocations: 462.6 kB / 0.5753 GB, free: 5.793 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3301, allocations: 0 / 0.5753 GB, free: 5.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008747/0.331, allocations: 0.5671 MB / 0.5759 GB, free: 5.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.331, allocations: 8 kB / 0.5759 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.331, allocations: 0 / 0.5759 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.331, allocations: 8 kB / 0.5759 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.3316, allocations: 179.7 kB / 0.5761 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.3317, allocations: 11.98 kB / 0.5761 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.3319, allocations: 24.28 kB / 0.5761 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.332, allocations: 24 kB / 0.5761 GB, free: 4.969 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.000216/0.3322, allocations: 185.5 kB / 0.5763 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/0.3323, allocations: 47.72 kB / 0.5764 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.3324, allocations: 51.61 kB / 0.5764 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.3324, allocations: 8 kB / 0.5764 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.3324, allocations: 4 kB / 0.5764 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.3324, allocations: 3.984 kB / 0.5764 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.3344, allocations: 1.283 MB / 0.5777 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3344, allocations: 4 kB / 0.5777 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.3354, allocations: 155.8 kB / 0.5778 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.3354, allocations: 8.344 kB / 0.5778 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/0.3355, allocations: 24 kB / 0.5779 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.3355, allocations: 12 kB / 0.5779 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.3355, allocations: 11.92 kB / 0.5779 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.3369, allocations: 0.9166 MB / 0.5788 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.337, allocations: 39.72 kB / 0.5788 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.337, allocations: 19.98 kB / 0.5788 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.3373, allocations: 23.94 kB / 0.5789 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.3374, allocations: 56.23 kB / 0.5789 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.3374, allocations: 23.98 kB / 0.5789 GB, free: 1.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.3376, allocations: 165.2 kB / 0.5791 GB, free: 1.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3376, allocations: 0 / 0.5791 GB, free: 1.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.3381, allocations: 144 kB / 0.5792 GB, free: 1.645 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.0001405/0.3383, allocations: 123 kB / 0.5794 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007407/0.339, allocations: 436.1 kB / 0.5798 GB, free: 1.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.339, allocations: 4 kB / 0.5798 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.3393, allocations: 218.2 kB / 0.58 GB, free: 0.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.3402, allocations: 117.4 kB / 0.5801 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.3429, allocations: 1.714 MB / 0.5818 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.3431, allocations: 238 kB / 0.582 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.3433, allocations: 47.44 kB / 0.582 GB, free: 14.68 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3433, allocations: 0 / 0.582 GB, free: 14.68 MB / 430.1 MB Notification: Performance of Templates: time 0.01014/0.3534, allocations: 6.249 MB / 0.5881 GB, free: 8.457 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/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: 8.435720372013748]