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.008484/0.008484, allocations: 107.7 kB / 21.98 MB, free: 5.223 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.002437/0.002437, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.432/1.432, allocations: 230.5 MB / 259 MB, free: 8.008 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.221/0.221, allocations: 46.94 MB / 362.3 MB, free: 4.203 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.002345/0.002345, allocations: 83.86 kB / 0.4982 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3178, allocations: 66.08 MB / 0.5627 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004411/0.3223, allocations: 3.091 MB / 0.5657 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.3231, allocations: 418.5 kB / 0.5661 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.3233, allocations: 11.94 kB / 0.5662 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3235, allocations: 67.31 kB / 0.5662 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.3238, allocations: 166.5 kB / 0.5664 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.3241, allocations: 99.86 kB / 0.5665 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000582/0.3246, allocations: 0.5403 MB / 0.567 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.3249, allocations: 121.1 kB / 0.5671 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.3251, allocations: 211.3 kB / 0.5673 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.3254, allocations: 219 kB / 0.5675 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.3255, allocations: 40 kB / 0.5676 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.3256, allocations: 44 kB / 0.5676 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.031e-05/0.3256, allocations: 99.67 kB / 0.5677 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.3259, allocations: 242.9 kB / 0.5679 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.3264, allocations: 0.5275 MB / 0.5684 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3264, allocations: 0 / 0.5684 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3264, allocations: 0 / 0.5684 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.3265, allocations: 0 / 0.5684 GB, free: 14.39 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.0009907/0.3274, allocations: 0.6571 MB / 0.5691 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3275, allocations: 8.031 kB / 0.5691 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.159e-05/0.3276, allocations: 52.61 kB / 0.5691 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.3279, allocations: 234.7 kB / 0.5694 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.3279, allocations: 33.38 kB / 0.5694 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.328, allocations: 52.33 kB / 0.5695 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.3287, allocations: 458.7 kB / 0.5699 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.3288, allocations: 16.08 kB / 0.5699 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.3288, allocations: 19.94 kB / 0.5699 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3288, allocations: 12 kB / 0.5699 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.3293, allocations: 255.7 kB / 0.5702 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.3316, allocations: 1.656 MB / 0.5718 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005405/0.3321, allocations: 403.6 kB / 0.5722 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.3323, allocations: 147.7 kB / 0.5723 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.3323, allocations: 7.938 kB / 0.5723 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.3324, allocations: 50.5 kB / 0.5724 GB, free: 10.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.3324, allocations: 4 kB / 0.5724 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.00074/0.3331, allocations: 345.6 kB / 0.5727 GB, free: 9.727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/0.3333, allocations: 273 kB / 0.573 GB, free: 9.398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.3336, allocations: 250.6 kB / 0.5732 GB, free: 9.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.3336, allocations: 33.7 kB / 0.5732 GB, free: 9.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3338, allocations: 256.2 kB / 0.5735 GB, free: 8.855 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.334, allocations: 190.4 kB / 0.5737 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.3342, allocations: 114.6 kB / 0.5738 GB, free: 8.551 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3343, allocations: 358.7 kB / 0.5741 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.3345, allocations: 117.9 kB / 0.5742 GB, free: 8.074 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.335, allocations: 413.6 kB / 0.5746 GB, free: 7.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.3357, allocations: 0.5776 MB / 0.5752 GB, free: 6.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3357, allocations: 4 kB / 0.5752 GB, free: 6.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008525/0.3366, allocations: 0.5679 MB / 0.5758 GB, free: 6.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3366, allocations: 8 kB / 0.5758 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3366, allocations: 12 kB / 0.5758 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.3366, allocations: 12 kB / 0.5758 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.3372, allocations: 183.6 kB / 0.576 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.3372, allocations: 23.92 kB / 0.576 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.3375, allocations: 67.52 kB / 0.576 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3375, allocations: 32 kB / 0.5761 GB, free: 5.906 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.0002044/0.3377, allocations: 185.7 kB / 0.5763 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.3379, allocations: 39.77 kB / 0.5763 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.338, allocations: 41.7 kB / 0.5763 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.338, allocations: 11.94 kB / 0.5763 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3381, allocations: 0 / 0.5763 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3381, allocations: 7.984 kB / 0.5763 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.3391, allocations: 388.3 kB / 0.5767 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3391, allocations: 0 / 0.5767 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.3396, allocations: 123.9 kB / 0.5768 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3397, allocations: 4 kB / 0.5768 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.3397, allocations: 20 kB / 0.5769 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.3397, allocations: 7.875 kB / 0.5769 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3397, allocations: 4.125 kB / 0.5769 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009629/0.3407, allocations: 1.094 MB / 0.5779 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.3407, allocations: 31.75 kB / 0.578 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.3408, allocations: 15.98 kB / 0.578 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.3412, allocations: 11.94 kB / 0.578 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.3412, allocations: 27.95 kB / 0.578 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.3412, allocations: 20 kB / 0.578 GB, free: 3.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.3414, allocations: 173.2 kB / 0.5782 GB, free: 3.637 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3414, allocations: 0 / 0.5782 GB, free: 3.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008054/0.3422, allocations: 139.7 kB / 0.5783 GB, free: 3.5 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.0001876/0.3424, allocations: 118.8 kB / 0.5785 GB, free: 3.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.343, allocations: 337.7 kB / 0.5788 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.343, allocations: 0 / 0.5788 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.3431, allocations: 124.7 kB / 0.5789 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3443, allocations: 106.9 kB / 0.579 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.3471, allocations: 2.014 MB / 0.581 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.3477, allocations: 0.8235 MB / 0.5818 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.3477, allocations: 35.44 kB / 0.5818 GB, free: 15.87 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3477, allocations: 0 / 0.5818 GB, free: 15.87 MB / 430.1 MB Notification: Performance of Templates: time 0.008158/0.3559, allocations: 5.141 MB / 0.5868 GB, free: 10.74 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 -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: 8.119083978934214]