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.002729/0.002729, allocations: 96.97 kB / 20.21 MB, free: 4.207 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.003059/0.003059, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 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.441/1.441, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2164/0.2164, allocations: 32.37 MB / 270 MB, free: 14.78 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.843e-06/1.843e-06, allocations: 3.938 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.967e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.0033/0.003329, allocations: 3.021 MB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006043/0.003934, allocations: 422.5 kB / 350.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.004079, allocations: 11.94 kB / 350.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.004182, allocations: 59.31 kB / 350.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.004496, allocations: 178.4 kB / 350.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.004697, allocations: 107.8 kB / 350.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.005019, allocations: 0.5633 MB / 351.3 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.005199, allocations: 109.2 kB / 351.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.00547, allocations: 319.4 kB / 351.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.005653, allocations: 159.5 kB / 351.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.005703, allocations: 51.94 kB / 351.9 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.005769, allocations: 40 kB / 351.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.00582, allocations: 91.66 kB / 352 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.00595, allocations: 175.7 kB / 352.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.006336, allocations: 0.5295 MB / 352.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.006342, allocations: 4 kB / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-05/0.006356, allocations: 0 / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.006366, allocations: 0 / 352.7 MB, free: 3.98 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.0008543/0.00722, allocations: 0.7763 MB / 353.5 MB, free: 3.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.007256, allocations: 8.031 kB / 353.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.007387, allocations: 92.61 kB / 353.6 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.007639, allocations: 239.8 kB / 353.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.007661, allocations: 33.38 kB / 353.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.007726, allocations: 56.33 kB / 353.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.008264, allocations: 496.1 kB / 354.4 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.008293, allocations: 12.08 kB / 354.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.008326, allocations: 24.38 kB / 354.4 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.008337, allocations: 12.38 kB / 354.5 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.008667, allocations: 252.6 kB / 354.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.01052, allocations: 2.037 MB / 356.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.01121, allocations: 475.9 kB / 357.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.01148, allocations: 177.1 kB / 357.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.01151, allocations: 11.94 kB / 357.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.01156, allocations: 53.31 kB / 357.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.01156, allocations: 0 / 357.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008524/0.01241, allocations: 365.5 kB / 357.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/0.01261, allocations: 265 kB / 358.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.01298, allocations: 344.2 kB / 358.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.01301, allocations: 33.64 kB / 358.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.01327, allocations: 311.4 kB / 358.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.01346, allocations: 202.4 kB / 358.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.01364, allocations: 132.3 kB / 359.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003424/0.01399, allocations: 0.543 MB / 359.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.01422, allocations: 121.9 kB / 359.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.01486, allocations: 0.5439 MB / 360.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.01606, allocations: 0.7097 MB / 361 MB, free: 10.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.01607, allocations: 8 kB / 361 MB, free: 10.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009963/0.01707, allocations: 0.6104 MB / 361.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.01709, allocations: 8 kB / 361.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.01711, allocations: 12 kB / 361.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.618e-05/0.01714, allocations: 12 kB / 361.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.01773, allocations: 175.7 kB / 361.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/0.01775, allocations: 24.45 kB / 361.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.01803, allocations: 71.52 kB / 361.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.01807, allocations: 32 kB / 361.9 MB, free: 9.938 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.0002623/0.01834, allocations: 236.2 kB / 362.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.01854, allocations: 47.81 kB / 362.2 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.01865, allocations: 45.75 kB / 362.2 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.01865, allocations: 4 kB / 362.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.01866, allocations: 4 kB / 362.2 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.01867, allocations: 7.984 kB / 362.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.01971, allocations: 364.2 kB / 362.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01971, allocations: 3.938 kB / 362.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.0203, allocations: 127.9 kB / 362.7 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.02031, allocations: 4 kB / 362.7 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.02035, allocations: 15.98 kB / 362.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.02035, allocations: 4 kB / 362.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.02036, allocations: 4 kB / 362.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.02171, allocations: 1.489 MB / 364.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.02177, allocations: 35.64 kB / 364.3 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.02182, allocations: 16 kB / 364.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.02223, allocations: 16.06 kB / 364.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.0223, allocations: 39.81 kB / 364.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.02233, allocations: 16 kB / 364.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000209/0.02254, allocations: 213.1 kB / 364.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02254, allocations: 0 / 364.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008477/0.02338, allocations: 135.8 kB / 364.7 MB, free: 7.059 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.0001646/0.02355, allocations: 111.2 kB / 364.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007136/0.02426, allocations: 387.1 kB / 365.2 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.02427, allocations: 0.75 kB / 365.2 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.02449, allocations: 148.5 kB / 365.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.02576, allocations: 94.94 kB / 365.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.02832, allocations: 1.532 MB / 367 MB, free: 4.723 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.02861, allocations: 220.3 kB / 367.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.02877, allocations: 43.45 kB / 367.2 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.02885, allocations: 32.5 kB / 367.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of SimCode: time 1.422e-06/0.02886, allocations: 0 / 367.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of Templates: time 0.01014/0.039, allocations: 4.111 MB / 371.4 MB, free: 384 kB / 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.214221304049715]