Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001274/0.001274, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001547/0.001547, allocations: 218 kB / 25.13 MB, free: 3.609 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.421/1.421, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2276/0.2276, allocations: 46.93 MB / 362 MB, free: 4.227 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-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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia") [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.002334/0.002334, allocations: 79.8 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3117, allocations: 66.08 MB / 0.5623 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004568/0.3162, allocations: 3.067 MB / 0.5653 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.317, allocations: 414.5 kB / 0.5657 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.3172, allocations: 15.94 kB / 0.5657 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.3173, allocations: 63.31 kB / 0.5658 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.3176, allocations: 170.5 kB / 0.5659 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.3179, allocations: 99.86 kB / 0.566 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.3184, allocations: 0.5405 MB / 0.5666 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.3186, allocations: 113.2 kB / 0.5667 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.3189, allocations: 215.2 kB / 0.5669 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.3191, allocations: 219 kB / 0.5671 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/0.3192, allocations: 40 kB / 0.5671 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.963e-05/0.3193, allocations: 40 kB / 0.5672 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.3194, allocations: 95.67 kB / 0.5673 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.3196, allocations: 242.9 kB / 0.5675 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.3202, allocations: 0.5315 MB / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3202, allocations: 0 / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3202, allocations: 4 kB / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3202, allocations: 7.938 kB / 0.568 GB, free: 14.42 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001031/0.3212, allocations: 0.6532 MB / 0.5687 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3213, allocations: 12.03 kB / 0.5687 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.3213, allocations: 52.61 kB / 0.5687 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.3217, allocations: 230.7 kB / 0.5689 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.3217, allocations: 41.38 kB / 0.569 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.3218, allocations: 52.33 kB / 0.569 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007204/0.3225, allocations: 454.7 kB / 0.5695 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.3226, allocations: 8.141 kB / 0.5695 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.3226, allocations: 27.94 kB / 0.5695 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3226, allocations: 12 kB / 0.5695 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.323, allocations: 255.7 kB / 0.5698 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.3254, allocations: 1.644 MB / 0.5714 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.326, allocations: 411.4 kB / 0.5718 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.3262, allocations: 147.6 kB / 0.5719 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3262, allocations: 8 kB / 0.5719 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3262, allocations: 46.5 kB / 0.5719 GB, free: 10.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.542e-06/0.3262, allocations: 0 / 0.5719 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007612/0.327, allocations: 358.1 kB / 0.5723 GB, free: 9.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.3271, allocations: 272.9 kB / 0.5725 GB, free: 9.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.3274, allocations: 254.1 kB / 0.5728 GB, free: 9.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.3275, allocations: 33.7 kB / 0.5728 GB, free: 9.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.3277, allocations: 248.2 kB / 0.5731 GB, free: 8.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.3278, allocations: 186.4 kB / 0.5732 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.3279, allocations: 118.6 kB / 0.5733 GB, free: 8.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3281, allocations: 350.8 kB / 0.5737 GB, free: 8.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.3284, allocations: 118 kB / 0.5738 GB, free: 8.109 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.3288, allocations: 413.6 kB / 0.5742 GB, free: 7.566 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.3296, allocations: 0.577 MB / 0.5748 GB, free: 6.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.3296, allocations: 4 kB / 0.5748 GB, free: 6.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008703/0.3304, allocations: 0.5678 MB / 0.5753 GB, free: 6.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3305, allocations: 8 kB / 0.5753 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.3305, allocations: 12 kB / 0.5753 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.3305, allocations: 12 kB / 0.5753 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.331, allocations: 184.4 kB / 0.5755 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.562e-05/0.3311, allocations: 27.92 kB / 0.5755 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.3313, allocations: 67.52 kB / 0.5756 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.3314, allocations: 32 kB / 0.5756 GB, free: 5.938 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0001882/0.3315, allocations: 181.6 kB / 0.5758 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.3317, allocations: 39.77 kB / 0.5759 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.3318, allocations: 41.7 kB / 0.5759 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.3318, allocations: 15.88 kB / 0.5759 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.3318, allocations: 0 / 0.5759 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.3319, allocations: 11.98 kB / 0.5759 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.3329, allocations: 388.3 kB / 0.5763 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3329, allocations: 0 / 0.5763 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.3335, allocations: 127.8 kB / 0.5764 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3335, allocations: 4 kB / 0.5764 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.3335, allocations: 16 kB / 0.5764 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.3335, allocations: 7.938 kB / 0.5764 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3335, allocations: 0 / 0.5764 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3345, allocations: 1.09 MB / 0.5775 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.3346, allocations: 31.75 kB / 0.5775 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.3346, allocations: 23.98 kB / 0.5776 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.335, allocations: 7.938 kB / 0.5776 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.3351, allocations: 31.89 kB / 0.5776 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.3351, allocations: 12 kB / 0.5776 GB, free: 3.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.3352, allocations: 177.2 kB / 0.5778 GB, free: 3.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3352, allocations: 0 / 0.5778 GB, free: 3.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008073/0.3361, allocations: 139.7 kB / 0.5779 GB, free: 3.531 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0001829/0.3362, allocations: 118.9 kB / 0.578 GB, free: 3.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005616/0.3368, allocations: 337.6 kB / 0.5783 GB, free: 3.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3368, allocations: 0 / 0.5783 GB, free: 3.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.337, allocations: 123.8 kB / 0.5785 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3382, allocations: 101.6 kB / 0.5786 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.3411, allocations: 1.989 MB / 0.5805 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.3417, allocations: 0.8316 MB / 0.5813 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.3418, allocations: 48.16 kB / 0.5814 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.3419, allocations: 31.44 kB / 0.5814 GB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3419, allocations: 0 / 0.5814 GB, free: 15.88 MB / 430.1 MB Notification: Performance of Templates: time 0.009448/0.3514, allocations: 4.538 MB / 0.5858 GB, free: 11.38 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.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.133267220109701]