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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 214.6 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.2 MB / 256.8 MB, free: 8.652 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2347/0.2347, allocations: 46.89 MB / 359.9 MB, free: 5.027 MB / 286.1 MB [Timeout remaining time 90] 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.002329/0.002329, allocations: 76.16 kB / 0.4949 GB, free: 8.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3344, allocations: 66 MB / 0.5594 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004758/0.3392, allocations: 3.301 MB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3408, allocations: 0.845 MB / 0.5634 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.3411, allocations: 7.938 kB / 0.5634 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.3413, allocations: 75.23 kB / 0.5635 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.3417, allocations: 174.5 kB / 0.5637 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.3419, allocations: 107.9 kB / 0.5638 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006346/0.3426, allocations: 0.6024 MB / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.3428, allocations: 117.4 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.3432, allocations: 227.2 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.3435, allocations: 246.9 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.3436, allocations: 44 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.515e-05/0.3437, allocations: 44 kB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3438, allocations: 95.62 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.3441, allocations: 270.7 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007508/0.3448, allocations: 0.5588 MB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3448, allocations: 0 / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3448, allocations: 0 / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3449, allocations: 0 / 0.5659 GB, free: 14.52 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.001314/0.3462, allocations: 0.7752 MB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3462, allocations: 12.03 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.879e-05/0.3463, allocations: 52.61 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.3468, allocations: 330.5 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.3469, allocations: 33.38 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.979e-05/0.347, allocations: 60.27 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007433/0.3477, allocations: 446.9 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.3477, allocations: 7.953 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.3478, allocations: 20 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.3478, allocations: 12 kB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.3483, allocations: 312.4 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.3501, allocations: 1.15 MB / 0.569 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.3508, allocations: 453.9 kB / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.3511, allocations: 190.9 kB / 0.5696 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.3512, allocations: 12.38 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.3512, allocations: 51.02 kB / 0.5697 GB, free: 10.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.515e-06/0.3512, allocations: 0 / 0.5697 GB, free: 10.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003248/0.3545, allocations: 2.148 MB / 0.5718 GB, free: 8.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.3545, allocations: 85.67 kB / 0.5719 GB, free: 8.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.3548, allocations: 258.9 kB / 0.5721 GB, free: 7.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.3548, allocations: 41.64 kB / 0.5722 GB, free: 7.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.355, allocations: 209.4 kB / 0.5724 GB, free: 7.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.3552, allocations: 273.6 kB / 0.5726 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.3554, allocations: 130.6 kB / 0.5728 GB, free: 7.098 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.3556, allocations: 362.7 kB / 0.5731 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.3558, allocations: 153.9 kB / 0.5732 GB, free: 6.586 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.3562, allocations: 272.8 kB / 0.5735 GB, free: 6.285 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.3569, allocations: 474.9 kB / 0.574 GB, free: 5.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3569, allocations: 0 / 0.574 GB, free: 5.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008872/0.3578, allocations: 0.5671 MB / 0.5745 GB, free: 5.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3578, allocations: 8.281 kB / 0.5745 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3578, allocations: 11.94 kB / 0.5745 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.3578, allocations: 4 kB / 0.5745 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.3584, allocations: 175.7 kB / 0.5747 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.3585, allocations: 8 kB / 0.5747 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.3587, allocations: 23.98 kB / 0.5747 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.3588, allocations: 36 kB / 0.5748 GB, free: 4.953 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.0002151/0.359, allocations: 185.6 kB / 0.5749 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3591, allocations: 47.72 kB / 0.575 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.3592, allocations: 55.64 kB / 0.575 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3592, allocations: 8 kB / 0.575 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3592, allocations: 0 / 0.575 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.3592, allocations: 8.016 kB / 0.5751 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.3614, allocations: 1.444 MB / 0.5765 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.3614, allocations: 8.031 kB / 0.5765 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.362, allocations: 151.8 kB / 0.5766 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.362, allocations: 8 kB / 0.5766 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.362, allocations: 27.92 kB / 0.5767 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.362, allocations: 7.938 kB / 0.5767 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.362, allocations: 4 kB / 0.5767 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3632, allocations: 0.912 MB / 0.5776 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3633, allocations: 120.8 kB / 0.5777 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.3634, allocations: 19.94 kB / 0.5777 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.3637, allocations: 20 kB / 0.5777 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.3638, allocations: 48.31 kB / 0.5778 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.3638, allocations: 28 kB / 0.5778 GB, free: 1.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.364, allocations: 177.9 kB / 0.578 GB, free: 1.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.364, allocations: 0 / 0.578 GB, free: 1.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005488/0.3645, allocations: 148 kB / 0.5781 GB, free: 1.348 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.0001587/0.3647, allocations: 119.1 kB / 0.5782 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007273/0.3654, allocations: 436.2 kB / 0.5786 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3654, allocations: 4 kB / 0.5786 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.3657, allocations: 218.9 kB / 0.5788 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/0.3665, allocations: 140.9 kB / 0.579 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.3692, allocations: 1.684 MB / 0.5806 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.3697, allocations: 0.8485 MB / 0.5814 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3698, allocations: 43.44 kB / 0.5815 GB, free: 13.77 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3698, allocations: 7.938 kB / 0.5815 GB, free: 13.77 MB / 430.1 MB Notification: Performance of Templates: time 0.00983/0.3796, allocations: 6.076 MB / 0.5874 GB, free: 7.715 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 -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/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-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