Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001983/0.001983, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002489/0.002489, allocations: 219.5 kB / 24.48 MB, free: 3.836 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.523/1.523, allocations: 230.5 MB / 258.1 MB, free: 7.805 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.2309/0.2309, allocations: 46.96 MB / 361.6 MB, free: 4.047 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.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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 83.86 kB / 0.4974 GB, free: 7.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3086, allocations: 66.1 MB / 0.5619 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004488/0.3131, allocations: 2.799 MB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008885/0.314, allocations: 426.4 kB / 0.565 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.3142, allocations: 11.94 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.3143, allocations: 63.3 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.3147, allocations: 166.6 kB / 0.5653 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.3149, allocations: 103.8 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005949/0.3155, allocations: 0.5403 MB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.3158, allocations: 109.2 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.316, allocations: 207.3 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.3163, allocations: 191 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.3164, allocations: 44 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.938e-05/0.3165, allocations: 44 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.3166, allocations: 87.69 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.3168, allocations: 211.1 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006861/0.3175, allocations: 0.5277 MB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3175, allocations: 0 / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3175, allocations: 0 / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3175, allocations: 0 / 0.5673 GB, free: 14.45 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.001422/0.3189, allocations: 0.6571 MB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.319, allocations: 11.97 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.3191, allocations: 56.61 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.3194, allocations: 230.7 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.3195, allocations: 37.38 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.679e-05/0.3196, allocations: 56.27 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007358/0.3203, allocations: 454.7 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.3203, allocations: 8.141 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.3204, allocations: 23.94 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.3204, allocations: 12 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.3209, allocations: 263.7 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.3231, allocations: 1.504 MB / 0.5705 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/0.3237, allocations: 395.4 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.3239, allocations: 152.2 kB / 0.571 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3239, allocations: 8 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.324, allocations: 54.47 kB / 0.5711 GB, free: 10.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.455e-06/0.324, allocations: 0 / 0.5711 GB, free: 10.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007897/0.3248, allocations: 357.6 kB / 0.5714 GB, free: 9.922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001976/0.325, allocations: 265 kB / 0.5717 GB, free: 9.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.3253, allocations: 249.9 kB / 0.5719 GB, free: 9.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.3253, allocations: 37.7 kB / 0.5719 GB, free: 9.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.3255, allocations: 240.8 kB / 0.5722 GB, free: 9.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.3257, allocations: 202.4 kB / 0.5724 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.3258, allocations: 114.6 kB / 0.5725 GB, free: 8.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.326, allocations: 350.7 kB / 0.5728 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.3262, allocations: 114 kB / 0.5729 GB, free: 8.289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.3267, allocations: 417.6 kB / 0.5733 GB, free: 7.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007728/0.3275, allocations: 0.5771 MB / 0.5739 GB, free: 7.027 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3275, allocations: 4 kB / 0.5739 GB, free: 7.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009057/0.3284, allocations: 0.5636 MB / 0.5744 GB, free: 6.453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.3284, allocations: 12 kB / 0.5744 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.3284, allocations: 8 kB / 0.5744 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.3284, allocations: 16 kB / 0.5745 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.329, allocations: 175.7 kB / 0.5746 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.917e-05/0.3291, allocations: 32.3 kB / 0.5747 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.3294, allocations: 67.52 kB / 0.5747 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.3294, allocations: 36 kB / 0.5748 GB, free: 6.113 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.0002196/0.3296, allocations: 181.6 kB / 0.5749 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.3298, allocations: 31.81 kB / 0.575 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.527e-05/0.3299, allocations: 41.7 kB / 0.575 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3299, allocations: 8 kB / 0.575 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.3299, allocations: 7.938 kB / 0.575 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3299, allocations: 3.984 kB / 0.575 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000928/0.3309, allocations: 305.1 kB / 0.5753 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.3309, allocations: 4 kB / 0.5753 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.3314, allocations: 131.8 kB / 0.5754 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.3314, allocations: 4 kB / 0.5754 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.3315, allocations: 11.98 kB / 0.5755 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3315, allocations: 4 kB / 0.5755 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3315, allocations: 4 kB / 0.5755 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3325, allocations: 1.091 MB / 0.5765 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.3325, allocations: 31.75 kB / 0.5766 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.3326, allocations: 12 kB / 0.5766 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.333, allocations: 8 kB / 0.5766 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.333, allocations: 35.88 kB / 0.5766 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.3331, allocations: 23.94 kB / 0.5766 GB, free: 4.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3333, allocations: 161.2 kB / 0.5768 GB, free: 3.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3333, allocations: 0 / 0.5768 GB, free: 3.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008851/0.3341, allocations: 139.7 kB / 0.5769 GB, free: 3.824 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.0001945/0.3343, allocations: 110.9 kB / 0.577 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000601/0.3349, allocations: 338.3 kB / 0.5774 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3349, allocations: 0 / 0.5774 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3351, allocations: 124.1 kB / 0.5775 GB, free: 3.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3363, allocations: 109.1 kB / 0.5776 GB, free: 3.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.3396, allocations: 2.014 MB / 0.5795 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.3399, allocations: 228.4 kB / 0.5798 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.34, allocations: 31.44 kB / 0.5798 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of SimCode: time 1.402e-06/0.34, allocations: 0 / 0.5798 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of Templates: time 0.009202/0.3492, allocations: 5.315 MB / 0.585 GB, free: 11.5 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 8.338940490968525]