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.001237/0.001237, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001313/0.001313, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.317/1.317, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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.204/0.204, allocations: 46.93 MB / 361.5 MB, free: 4.18 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.002227/0.002227, allocations: 79.88 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2746, allocations: 66.08 MB / 0.5619 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004499/0.2791, allocations: 3.311 MB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.2808, allocations: 0.8488 MB / 0.566 GB, free: 76 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.281, allocations: 11.94 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.2813, allocations: 79.28 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.2816, allocations: 178.5 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2819, allocations: 107.9 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.2825, allocations: 0.5945 MB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.2828, allocations: 125.8 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.283, allocations: 227.3 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.2833, allocations: 242.9 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.2834, allocations: 44 kB / 0.5676 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-05/0.2835, allocations: 44 kB / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.2836, allocations: 103.6 kB / 0.5677 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.2838, allocations: 266.7 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.2844, allocations: 0.5588 MB / 0.5685 GB, free: 13.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2844, allocations: 4 kB / 0.5685 GB, free: 13.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2844, allocations: 0 / 0.5685 GB, free: 13.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.2845, allocations: 0 / 0.5685 GB, free: 13.51 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.001116/0.2856, allocations: 0.696 MB / 0.5692 GB, free: 12.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2856, allocations: 12.03 kB / 0.5692 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.971e-05/0.2857, allocations: 56.61 kB / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.2861, allocations: 268.6 kB / 0.5695 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.2862, allocations: 37.38 kB / 0.5695 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.253e-05/0.2862, allocations: 60.31 kB / 0.5696 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.2869, allocations: 434.9 kB / 0.57 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.2869, allocations: 11.94 kB / 0.57 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.287, allocations: 20 kB / 0.57 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.287, allocations: 12 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.2875, allocations: 312.5 kB / 0.5703 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.2891, allocations: 1.104 MB / 0.5714 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.2897, allocations: 388 kB / 0.5718 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.29, allocations: 191 kB / 0.572 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.2901, allocations: 8.438 kB / 0.572 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2901, allocations: 39 kB / 0.572 GB, free: 9.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.503e-06/0.2901, allocations: 0 / 0.572 GB, free: 9.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002758/0.2928, allocations: 1.838 MB / 0.5738 GB, free: 7.812 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.2929, allocations: 97.47 kB / 0.5739 GB, free: 7.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.2932, allocations: 260.2 kB / 0.5742 GB, free: 7.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2932, allocations: 37.7 kB / 0.5742 GB, free: 7.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.2933, allocations: 209.4 kB / 0.5744 GB, free: 7.184 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.2935, allocations: 285.5 kB / 0.5747 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2937, allocations: 118.6 kB / 0.5748 GB, free: 6.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2938, allocations: 358.7 kB / 0.5751 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.2941, allocations: 157.9 kB / 0.5753 GB, free: 6.266 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.2944, allocations: 276.9 kB / 0.5755 GB, free: 5.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.2951, allocations: 470.7 kB / 0.576 GB, free: 5.461 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2951, allocations: 4 kB / 0.576 GB, free: 5.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007883/0.2959, allocations: 0.5671 MB / 0.5765 GB, free: 4.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2959, allocations: 4 kB / 0.5765 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2959, allocations: 4 kB / 0.5766 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2959, allocations: 8 kB / 0.5766 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005854/0.2965, allocations: 183.7 kB / 0.5767 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.2965, allocations: 4 kB / 0.5767 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.2967, allocations: 28.28 kB / 0.5768 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.2968, allocations: 27.94 kB / 0.5768 GB, free: 4.629 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.0001954/0.297, allocations: 177.7 kB / 0.577 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.2971, allocations: 51.7 kB / 0.577 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.2972, allocations: 55.72 kB / 0.5771 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2972, allocations: 8 kB / 0.5771 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.2972, allocations: 7.984 kB / 0.5771 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.2972, allocations: 0 / 0.5771 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.2991, allocations: 1.412 MB / 0.5785 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2991, allocations: 4 kB / 0.5785 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.2997, allocations: 155.8 kB / 0.5786 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.2997, allocations: 8 kB / 0.5786 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.2998, allocations: 23.94 kB / 0.5786 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.2998, allocations: 4 kB / 0.5786 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.2998, allocations: 12.22 kB / 0.5787 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.3009, allocations: 0.9198 MB / 0.5796 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.3009, allocations: 43.72 kB / 0.5796 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.301, allocations: 23.92 kB / 0.5796 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.3013, allocations: 20 kB / 0.5796 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.3013, allocations: 44.36 kB / 0.5797 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.3014, allocations: 24.03 kB / 0.5797 GB, free: 1.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.3015, allocations: 183 kB / 0.5799 GB, free: 1.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3015, allocations: 0 / 0.5799 GB, free: 1.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.302, allocations: 147.9 kB / 0.58 GB, free: 1.16 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.0001583/0.3022, allocations: 131.1 kB / 0.5801 GB, free: 1.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006808/0.3029, allocations: 427.6 kB / 0.5806 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3029, allocations: 0 / 0.5806 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.3032, allocations: 227.1 kB / 0.5808 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.304, allocations: 128 kB / 0.5809 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.3065, allocations: 1.702 MB / 0.5826 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.307, allocations: 0.8523 MB / 0.5834 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3071, allocations: 47.44 kB / 0.5834 GB, free: 13.56 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3071, allocations: 0 / 0.5834 GB, free: 13.56 MB / 430.1 MB Notification: Performance of Templates: time 0.009351/0.3165, allocations: 6.068 MB / 0.5894 GB, free: 7.52 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: 7.326083701103926]