Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001575/0.001575, allocations: 77 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001857/0.001857, allocations: 177 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 158.6 MB / 185.9 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1414/0.1414, allocations: 32.36 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.695e-05, allocations: 6.25 kB / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003581/0.003608, allocations: 3.009 MB / 351.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.004707, allocations: 422.5 kB / 351.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.004943, allocations: 15.88 kB / 351.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.005065, allocations: 67.31 kB / 351.6 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.005432, allocations: 170.5 kB / 351.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.005692, allocations: 103.8 kB / 351.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.006131, allocations: 0.5634 MB / 352.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.006382, allocations: 109.2 kB / 352.6 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.006796, allocations: 319.3 kB / 352.9 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.007002, allocations: 155.6 kB / 353 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.007057, allocations: 43.98 kB / 353.1 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.00712, allocations: 40 kB / 353.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.007177, allocations: 95.66 kB / 353.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.007322, allocations: 179.6 kB / 353.4 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.007664, allocations: 350.7 kB / 353.7 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.007668, allocations: 0 / 353.7 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.007669, allocations: 4 kB / 353.7 MB, free: 3.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.007677, allocations: 4 kB / 353.7 MB, free: 3.555 MB / 282.7 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.000746/0.008423, allocations: 0.7492 MB / 354.5 MB, free: 2.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.008469, allocations: 8.031 kB / 354.5 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.008591, allocations: 96.59 kB / 354.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.008859, allocations: 231.8 kB / 354.8 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.008888, allocations: 37.38 kB / 354.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.008959, allocations: 56.33 kB / 354.9 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.009372, allocations: 376 kB / 355.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.009402, allocations: 20.05 kB / 355.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.009432, allocations: 20.38 kB / 355.3 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.009445, allocations: 16.38 kB / 355.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.009659, allocations: 148.9 kB / 355.5 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.01119, allocations: 1.869 MB / 357.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.01168, allocations: 415.9 kB / 357.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.01187, allocations: 141.3 kB / 357.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.01189, allocations: 11.94 kB / 357.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.01193, allocations: 49.33 kB / 357.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.726e-06/0.01193, allocations: 0 / 357.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006355/0.01257, allocations: 289.8 kB / 358.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.01268, allocations: 269 kB / 358.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.01292, allocations: 292.2 kB / 358.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.01294, allocations: 29.7 kB / 358.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.01312, allocations: 302.9 kB / 359.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.01326, allocations: 186.4 kB / 359.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.01341, allocations: 120.2 kB / 359.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.0136, allocations: 0.5273 MB / 359.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.01371, allocations: 53.94 kB / 360 MB, free: 12.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.01407, allocations: 484.8 kB / 360.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.01462, allocations: 0.6 MB / 361 MB, free: 11.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.01463, allocations: 4 kB / 361 MB, free: 11.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007552/0.01539, allocations: 481.3 kB / 361.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.01542, allocations: 8.219 kB / 361.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.01544, allocations: 16 kB / 361.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.065e-05/0.01548, allocations: 16 kB / 361.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.01598, allocations: 179.7 kB / 361.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/0.016, allocations: 15.94 kB / 361.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.01628, allocations: 67.52 kB / 361.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.01632, allocations: 28 kB / 361.8 MB, free: 10.6 MB / 298.7 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.000198/0.01652, allocations: 212.2 kB / 362 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.01672, allocations: 51.81 kB / 362.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.659e-05/0.0168, allocations: 45.7 kB / 362.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.0168, allocations: 8 kB / 362.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.01681, allocations: 0 / 362.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.01682, allocations: 4 kB / 362.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.01773, allocations: 260.8 kB / 362.4 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.01773, allocations: 4 kB / 362.4 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.01822, allocations: 120 kB / 362.5 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.01823, allocations: 4 kB / 362.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.01827, allocations: 23.98 kB / 362.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.01827, allocations: 4 kB / 362.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01827, allocations: 0 / 362.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.0193, allocations: 1.403 MB / 364 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.01935, allocations: 39.64 kB / 364 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.01939, allocations: 12 kB / 364 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.01979, allocations: 8 kB / 364 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.01983, allocations: 35.88 kB / 364.1 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.01985, allocations: 15.94 kB / 364.1 MB, free: 8.297 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.01996, allocations: 185.1 kB / 364.3 MB, free: 8.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01996, allocations: 4 kB / 364.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008966/0.02086, allocations: 139.8 kB / 364.4 MB, free: 7.973 MB / 298.7 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.0001349/0.02099, allocations: 103.2 kB / 364.5 MB, free: 7.859 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003972/0.02139, allocations: 279.4 kB / 364.8 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.02139, allocations: 0 / 364.8 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.02152, allocations: 120.5 kB / 364.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.02271, allocations: 98.17 kB / 365 MB, free: 7.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.02515, allocations: 1.504 MB / 366.5 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.02529, allocations: 117.7 kB / 366.6 MB, free: 5.668 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.02546, allocations: 47.44 kB / 366.6 MB, free: 5.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.02569, allocations: 166.1 kB / 366.8 MB, free: 5.457 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.02569, allocations: 0 / 366.8 MB, free: 5.457 MB / 298.7 MB Notification: Performance of Templates: time 0.009539/0.03523, allocations: 4.481 MB / 371.3 MB, free: 1.039 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2905446123331785]