Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 46.92 MB / 361.6 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.89 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3001, allocations: 66.03 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004646/0.3047, allocations: 3.317 MB / 0.5651 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3065, allocations: 0.845 MB / 0.5659 GB, free: 232 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.3067, allocations: 15.88 kB / 0.5659 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.3069, allocations: 71.25 kB / 0.566 GB, free: 144 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.3073, allocations: 178.6 kB / 0.5662 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.3075, allocations: 107.9 kB / 0.5663 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.3082, allocations: 0.5984 MB / 0.5669 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.3084, allocations: 121.8 kB / 0.567 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.3087, allocations: 231.3 kB / 0.5672 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.309, allocations: 238.9 kB / 0.5674 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.3091, allocations: 48 kB / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-05/0.3092, allocations: 44 kB / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.3093, allocations: 107.6 kB / 0.5676 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.3095, allocations: 262.7 kB / 0.5679 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006068/0.3101, allocations: 0.5549 MB / 0.5684 GB, free: 13.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3102, allocations: 0 / 0.5684 GB, free: 13.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3102, allocations: 0 / 0.5684 GB, free: 13.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3102, allocations: 4 kB / 0.5684 GB, free: 13.66 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.001111/0.3113, allocations: 0.696 MB / 0.5691 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3113, allocations: 15.97 kB / 0.5691 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.3114, allocations: 56.61 kB / 0.5692 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.3119, allocations: 264.7 kB / 0.5694 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.3119, allocations: 41.31 kB / 0.5695 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.312, allocations: 60.33 kB / 0.5695 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.3127, allocations: 434.9 kB / 0.5699 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.3127, allocations: 7.953 kB / 0.5699 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.3128, allocations: 20 kB / 0.57 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.3128, allocations: 12 kB / 0.57 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.3133, allocations: 312.5 kB / 0.5703 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.315, allocations: 1.107 MB / 0.5713 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.3157, allocations: 384 kB / 0.5717 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.316, allocations: 194.9 kB / 0.5719 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3161, allocations: 8.438 kB / 0.5719 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.3161, allocations: 46.94 kB / 0.572 GB, free: 9.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.194e-06/0.3161, allocations: 0 / 0.572 GB, free: 9.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003002/0.3191, allocations: 1.845 MB / 0.5738 GB, free: 7.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.3192, allocations: 85.55 kB / 0.5738 GB, free: 7.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.3195, allocations: 256.2 kB / 0.5741 GB, free: 7.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3195, allocations: 37.7 kB / 0.5741 GB, free: 7.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3197, allocations: 213.4 kB / 0.5743 GB, free: 7.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.3199, allocations: 285.5 kB / 0.5746 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.32, allocations: 122.6 kB / 0.5747 GB, free: 6.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3202, allocations: 358.7 kB / 0.5751 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.3205, allocations: 161.9 kB / 0.5752 GB, free: 6.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.3209, allocations: 276.9 kB / 0.5755 GB, free: 6.094 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.3215, allocations: 466.6 kB / 0.5759 GB, free: 5.605 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3215, allocations: 4 kB / 0.5759 GB, free: 5.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008179/0.3223, allocations: 0.5684 MB / 0.5765 GB, free: 5.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3223, allocations: 4 kB / 0.5765 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3224, allocations: 4 kB / 0.5765 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.3224, allocations: 8 kB / 0.5765 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.323, allocations: 183.7 kB / 0.5767 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.323, allocations: 4 kB / 0.5767 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.3232, allocations: 27.98 kB / 0.5767 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.3233, allocations: 32.16 kB / 0.5767 GB, free: 4.77 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.0001991/0.3235, allocations: 182.1 kB / 0.5769 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/0.3235, allocations: 47.72 kB / 0.5769 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.3237, allocations: 55.64 kB / 0.577 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3237, allocations: 4 kB / 0.577 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3237, allocations: 4 kB / 0.577 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.3237, allocations: 3.984 kB / 0.577 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.3256, allocations: 1.408 MB / 0.5784 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3257, allocations: 4 kB / 0.5784 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.3263, allocations: 159.8 kB / 0.5785 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.3263, allocations: 8 kB / 0.5785 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.3263, allocations: 19.94 kB / 0.5786 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.3263, allocations: 7.984 kB / 0.5786 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3263, allocations: 7.938 kB / 0.5786 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.3275, allocations: 0.9211 MB / 0.5795 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.3276, allocations: 39.7 kB / 0.5795 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.3277, allocations: 23.94 kB / 0.5795 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.3279, allocations: 16 kB / 0.5796 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.328, allocations: 56.28 kB / 0.5796 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.328, allocations: 24 kB / 0.5796 GB, free: 1.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3282, allocations: 183 kB / 0.5798 GB, free: 1.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3282, allocations: 0 / 0.5798 GB, free: 1.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000512/0.3287, allocations: 144 kB / 0.5799 GB, free: 1.309 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.0001428/0.3289, allocations: 123 kB / 0.5801 GB, free: 1.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006762/0.3295, allocations: 435.6 kB / 0.5805 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3295, allocations: 0 / 0.5805 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.3298, allocations: 223.4 kB / 0.5807 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007954/0.3306, allocations: 135.4 kB / 0.5808 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.3333, allocations: 1.71 MB / 0.5825 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.3338, allocations: 0.8484 MB / 0.5833 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.3339, allocations: 43.44 kB / 0.5834 GB, free: 13.71 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3339, allocations: 0 / 0.5834 GB, free: 13.71 MB / 430.1 MB Notification: Performance of Templates: time 0.009253/0.3431, allocations: 6.056 MB / 0.5893 GB, free: 7.68 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.002149564912543]