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.001474/0.001474, allocations: 88.23 kB / 20.2 MB, free: 4.223 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.00157/0.00157, allocations: 157.7 kB / 23.51 MB, free: 0.918 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.548/1.548, allocations: 158.6 MB / 185.3 MB, free: 2.883 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.2229/0.2229, allocations: 32.37 MB / 270 MB, free: 14.77 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.873e-06/1.873e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.553e-05, allocations: 2.312 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005499/0.005535, allocations: 2.796 MB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.006782, allocations: 422.5 kB / 350.1 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.007011, allocations: 15.88 kB / 350.2 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.007187, allocations: 67.31 kB / 350.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.007651, allocations: 174.4 kB / 350.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.007995, allocations: 111.7 kB / 350.5 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000597/0.008592, allocations: 0.5595 MB / 351.1 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.008899, allocations: 105.2 kB / 351.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.009327, allocations: 319.4 kB / 351.5 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.009684, allocations: 163.5 kB / 351.6 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.009796, allocations: 40 kB / 351.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.009904, allocations: 40 kB / 351.7 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.01001, allocations: 95.64 kB / 351.8 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.01034, allocations: 175.7 kB / 352 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008008/0.01114, allocations: 0.5295 MB / 352.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.01115, allocations: 0 / 352.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.01115, allocations: 0 / 352.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.01117, allocations: 0 / 352.5 MB, free: 4.191 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.001607/0.01278, allocations: 0.6455 MB / 353.1 MB, free: 3.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.01283, allocations: 16.02 kB / 353.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.01305, allocations: 92.61 kB / 353.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.01348, allocations: 225 kB / 353.5 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.01352, allocations: 37.38 kB / 353.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.01366, allocations: 56.31 kB / 353.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.01466, allocations: 462.6 kB / 354 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.775e-05/0.01472, allocations: 16.08 kB / 354 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.01477, allocations: 16.38 kB / 354 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.01479, allocations: 16.38 kB / 354.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.01549, allocations: 259.7 kB / 354.3 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.01844, allocations: 1.512 MB / 355.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/0.01914, allocations: 399.8 kB / 356.2 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.01942, allocations: 155.6 kB / 356.4 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.01946, allocations: 8 kB / 356.4 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.675e-05/0.01954, allocations: 54.72 kB / 356.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.487e-06/0.01954, allocations: 3.938 kB / 356.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001445/0.02099, allocations: 361 kB / 356.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002981/0.02129, allocations: 273 kB / 357.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.02176, allocations: 242 kB / 357.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.02182, allocations: 34.2 kB / 357.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.02214, allocations: 256.2 kB / 357.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.02244, allocations: 194.4 kB / 357.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.0227, allocations: 106.7 kB / 357.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005697/0.02327, allocations: 350.7 kB / 358.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.02369, allocations: 121.9 kB / 358.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009066/0.02459, allocations: 413.6 kB / 358.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.0261, allocations: 0.5776 MB / 359.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.02611, allocations: 0 / 359.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001882/0.02799, allocations: 0.6102 MB / 359.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.02803, allocations: 8 kB / 359.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/0.02807, allocations: 12 kB / 359.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.864e-05/0.02812, allocations: 12 kB / 360 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.0293, allocations: 184.3 kB / 360.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-05/0.02934, allocations: 19.94 kB / 360.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.02991, allocations: 63.56 kB / 360.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.02999, allocations: 32 kB / 360.2 MB, free: 11.78 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.000419/0.03041, allocations: 185.5 kB / 360.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.03081, allocations: 59.7 kB / 360.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.03096, allocations: 41.77 kB / 360.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.03098, allocations: 8 kB / 360.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.03099, allocations: 0 / 360.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.031, allocations: 4 kB / 360.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.03275, allocations: 304.9 kB / 360.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.03276, allocations: 8 kB / 360.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.03397, allocations: 123.9 kB / 361 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.03398, allocations: 0 / 361 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.03403, allocations: 16 kB / 361 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.03404, allocations: 4 kB / 361 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.03405, allocations: 4 kB / 361 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.03592, allocations: 1.089 MB / 362.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.03605, allocations: 35.73 kB / 362.1 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.03616, allocations: 19.94 kB / 362.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.03695, allocations: 8 kB / 362.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.03706, allocations: 39.83 kB / 362.2 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.03711, allocations: 16.11 kB / 362.2 MB, free: 9.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003114/0.03742, allocations: 161.2 kB / 362.4 MB, free: 9.609 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.03742, allocations: 0 / 362.4 MB, free: 9.609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001663/0.03909, allocations: 139.7 kB / 362.5 MB, free: 9.473 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.0003198/0.03941, allocations: 115.1 kB / 362.6 MB, free: 9.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.04057, allocations: 345.4 kB / 362.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.04057, allocations: 0 / 362.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.04096, allocations: 120.3 kB / 363.1 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.04327, allocations: 102.2 kB / 363.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.04809, allocations: 1.497 MB / 364.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.04864, allocations: 228.3 kB / 364.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006537/0.04929, allocations: 47.44 kB / 364.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.04945, allocations: 32.5 kB / 365 MB, free: 6.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.233e-06/0.04945, allocations: 0 / 365 MB, free: 6.93 MB / 298.7 MB Notification: Performance of Templates: time 0.01844/0.06789, allocations: 4.108 MB / 369.1 MB, free: 2.891 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] 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.1024433670099825]