Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001651/0.001651, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002302/0.002302, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2672/0.2672, allocations: 46.94 MB / 360.9 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 179] 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.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_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_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002861/0.002861, allocations: 68.05 kB / 0.4966 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4169, allocations: 66.02 MB / 0.5611 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004574/0.4215, allocations: 3.101 MB / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000827/0.4223, allocations: 414.5 kB / 0.5645 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.4224, allocations: 15.88 kB / 0.5646 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.4226, allocations: 71.25 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.4229, allocations: 166.6 kB / 0.5648 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.4231, allocations: 91.88 kB / 0.5649 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005975/0.4237, allocations: 0.5403 MB / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.424, allocations: 125.1 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.4242, allocations: 207.3 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.4245, allocations: 219 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.4246, allocations: 40 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.4247, allocations: 40 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/0.4247, allocations: 99.67 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.425, allocations: 242.9 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.4255, allocations: 0.5275 MB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4255, allocations: 4 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4255, allocations: 0 / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.4255, allocations: 0 / 0.5668 GB, free: 14.56 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.0009938/0.4265, allocations: 0.6532 MB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4266, allocations: 12.03 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.4267, allocations: 56.61 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.427, allocations: 225.8 kB / 0.5678 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.427, allocations: 37.38 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.135e-05/0.4271, allocations: 52.33 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/0.4278, allocations: 462.6 kB / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.4279, allocations: 12.14 kB / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.4279, allocations: 19.94 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4279, allocations: 12 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.4283, allocations: 259.7 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.4307, allocations: 1.656 MB / 0.5702 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.4313, allocations: 395.4 kB / 0.5706 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.4315, allocations: 151.6 kB / 0.5707 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.4315, allocations: 4.547 kB / 0.5707 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.4316, allocations: 46.5 kB / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.553e-06/0.4316, allocations: 4 kB / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007465/0.4323, allocations: 357.3 kB / 0.5711 GB, free: 9.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.4325, allocations: 273 kB / 0.5714 GB, free: 9.562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.4327, allocations: 250.1 kB / 0.5716 GB, free: 9.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.4328, allocations: 33.64 kB / 0.5716 GB, free: 9.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.433, allocations: 252.7 kB / 0.5719 GB, free: 9.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.4331, allocations: 190.4 kB / 0.5721 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.4333, allocations: 118.6 kB / 0.5722 GB, free: 8.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4335, allocations: 350.7 kB / 0.5725 GB, free: 8.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.4337, allocations: 118 kB / 0.5726 GB, free: 8.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.4341, allocations: 417.6 kB / 0.573 GB, free: 7.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/0.4349, allocations: 0.5806 MB / 0.5736 GB, free: 6.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.4349, allocations: 4 kB / 0.5736 GB, free: 6.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008245/0.4357, allocations: 0.5687 MB / 0.5742 GB, free: 6.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4357, allocations: 8 kB / 0.5742 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4357, allocations: 8 kB / 0.5742 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.4358, allocations: 20.06 kB / 0.5742 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.4363, allocations: 179.7 kB / 0.5744 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/0.4363, allocations: 23.92 kB / 0.5744 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.4365, allocations: 67.52 kB / 0.5744 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.4366, allocations: 36 kB / 0.5745 GB, free: 6.055 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.0001702/0.4368, allocations: 177.6 kB / 0.5746 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.4369, allocations: 39.77 kB / 0.5747 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.166e-05/0.437, allocations: 45.7 kB / 0.5747 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.437, allocations: 7.938 kB / 0.5747 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.437, allocations: 4 kB / 0.5747 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.4371, allocations: 7.984 kB / 0.5747 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000997/0.4381, allocations: 384.3 kB / 0.5751 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4381, allocations: 3.984 kB / 0.5751 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.4386, allocations: 119.9 kB / 0.5752 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.4386, allocations: 7.984 kB / 0.5752 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.4386, allocations: 15.94 kB / 0.5753 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.4386, allocations: 7.938 kB / 0.5753 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4386, allocations: 4.125 kB / 0.5753 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4397, allocations: 1.102 MB / 0.5763 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.4397, allocations: 31.75 kB / 0.5764 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.4398, allocations: 15.98 kB / 0.5764 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.4402, allocations: 11.94 kB / 0.5764 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.4402, allocations: 27.95 kB / 0.5764 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.4403, allocations: 16 kB / 0.5764 GB, free: 3.961 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.4404, allocations: 169.2 kB / 0.5766 GB, free: 3.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4404, allocations: 4 kB / 0.5766 GB, free: 3.789 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007571/0.4412, allocations: 139.7 kB / 0.5767 GB, free: 3.652 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.0001708/0.4413, allocations: 122.8 kB / 0.5769 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005101/0.4418, allocations: 328.2 kB / 0.5772 GB, free: 3.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.4418, allocations: 4 kB / 0.5772 GB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.442, allocations: 121.2 kB / 0.5773 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.4432, allocations: 108.2 kB / 0.5774 GB, free: 2.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.4464, allocations: 1.981 MB / 0.5793 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.4471, allocations: 0.8274 MB / 0.5801 GB, free: 92 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.4472, allocations: 44.17 kB / 0.5802 GB, free: 44 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.4473, allocations: 31.44 kB / 0.5802 GB, free: 12 kB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4473, allocations: 0 / 0.5802 GB, free: 12 kB / 414.1 MB Notification: Performance of Templates: time 0.009472/0.4568, allocations: 4.535 MB / 0.5846 GB, free: 11.51 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.693894805153832]