Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001344/0.001344, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001433/0.001433, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.432/1.432, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2043/0.2043, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.384e-05, allocations: 6.281 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004026/0.004049, allocations: 2.814 MB / 442.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007595/0.004809, allocations: 422.5 kB / 443.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.004951, allocations: 15.88 kB / 443.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.005079, allocations: 63.31 kB / 443.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.005412, allocations: 174.5 kB / 443.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.005644, allocations: 107.7 kB / 443.7 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.006221, allocations: 0.5634 MB / 444.2 MB, free: 4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.006447, allocations: 117.1 kB / 444.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.006835, allocations: 311.4 kB / 444.6 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.007075, allocations: 159.5 kB / 444.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.973e-05/0.007175, allocations: 40 kB / 444.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.263e-05/0.007258, allocations: 44 kB / 444.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.372e-05/0.007341, allocations: 95.66 kB / 445 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.007551, allocations: 175.6 kB / 445.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.008134, allocations: 0.5256 MB / 445.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.008137, allocations: 0 / 445.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.008138, allocations: 0 / 445.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.008146, allocations: 0 / 445.7 MB, free: 2.543 MB / 366.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.0009989/0.009145, allocations: 0.6532 MB / 446.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.009181, allocations: 8.031 kB / 446.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.889e-05/0.00928, allocations: 52.66 kB / 446.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.009628, allocations: 233.5 kB / 446.6 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.009664, allocations: 37.38 kB / 446.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/0.009746, allocations: 56.31 kB / 446.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.01046, allocations: 458.6 kB / 447.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.01049, allocations: 8.141 kB / 447.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.01053, allocations: 20.38 kB / 447.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.01054, allocations: 16.38 kB / 447.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.01099, allocations: 262.4 kB / 447.4 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1694/0.1804, allocations: 1.49 MB / 448.9 MB, free: 20.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.1808, allocations: 393.5 kB / 449.3 MB, free: 20.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.181, allocations: 148.7 kB / 449.5 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.181, allocations: 15.67 kB / 449.5 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1811, allocations: 47.8 kB / 449.5 MB, free: 20.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.335e-06/0.1811, allocations: 0 / 449.5 MB, free: 20.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007796/0.1818, allocations: 361.5 kB / 449.9 MB, free: 20.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.1819, allocations: 272.8 kB / 450.1 MB, free: 19.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.1822, allocations: 244.4 kB / 450.4 MB, free: 19.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1822, allocations: 32.88 kB / 450.4 MB, free: 19.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.1823, allocations: 245.6 kB / 450.7 MB, free: 19.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1824, allocations: 195.6 kB / 450.8 MB, free: 19.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.1826, allocations: 112.7 kB / 451 MB, free: 19.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.1827, allocations: 346.8 kB / 451.3 MB, free: 19.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1829, allocations: 120.4 kB / 451.4 MB, free: 19.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.1832, allocations: 423.4 kB / 451.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.1838, allocations: 0.5744 MB / 452.4 MB, free: 18.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.1838, allocations: 4.562 kB / 452.4 MB, free: 18.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007318/0.1845, allocations: 0.5645 MB / 453 MB, free: 17.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1845, allocations: 9.422 kB / 453 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.1846, allocations: 11.69 kB / 453 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/0.1846, allocations: 17.31 kB / 453 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.1851, allocations: 180 kB / 453.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/0.1852, allocations: 24.5 kB / 453.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.1854, allocations: 66.33 kB / 453.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.1855, allocations: 33.06 kB / 453.3 MB, free: 17.77 MB / 366.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.0001564/0.1856, allocations: 183.4 kB / 453.5 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.1858, allocations: 36.23 kB / 453.5 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.1859, allocations: 42.19 kB / 453.6 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.1859, allocations: 10.41 kB / 453.6 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.1859, allocations: 3.281 kB / 453.6 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1859, allocations: 5.672 kB / 453.6 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/0.1867, allocations: 308.6 kB / 453.9 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1867, allocations: 2.375 kB / 453.9 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/0.1873, allocations: 123.2 kB / 454 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.1873, allocations: 10.06 kB / 454 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.1873, allocations: 16.12 kB / 454 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1873, allocations: 3.031 kB / 454 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1873, allocations: 10.91 kB / 454 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006598/0.188, allocations: 1.08 MB / 455.1 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.188, allocations: 32.67 kB / 455.2 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.1881, allocations: 15 kB / 455.2 MB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.1885, allocations: 11.41 kB / 455.2 MB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.1885, allocations: 32.38 kB / 455.2 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.1886, allocations: 16.23 kB / 455.2 MB, free: 16.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1887, allocations: 164.1 kB / 455.4 MB, free: 16.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1887, allocations: 0 / 455.4 MB, free: 16.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008118/0.1895, allocations: 139.7 kB / 455.5 MB, free: 16.3 MB / 366.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.0001125/0.1896, allocations: 114 kB / 455.6 MB, free: 16.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005542/0.1902, allocations: 337 kB / 456 MB, free: 16.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1902, allocations: 0 / 456 MB, free: 16.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1903, allocations: 122 kB / 456.1 MB, free: 16.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.1915, allocations: 108.1 kB / 456.2 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.1934, allocations: 1.48 MB / 457.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.1937, allocations: 228 kB / 457.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.1939, allocations: 48.66 kB / 457.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.194, allocations: 32.91 kB / 458 MB, free: 14.8 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.194, allocations: 3.938 kB / 458 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Templates: time 0.009162/0.2031, allocations: 4.075 MB / 462.1 MB, free: 14.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.876720175147057]