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.00246/0.00246, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002777/0.002777, allocations: 169.3 kB / 24.27 MB, free: 156 kB / 18.57 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.609/1.609, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 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.3558/0.3558, allocations: 32.81 MB / 293.9 MB, free: 1.215 MB / 266.7 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 / 375.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.001e-05, allocations: 6.25 kB / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00448/0.00451, allocations: 3.037 MB / 378.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007886/0.005299, allocations: 426.4 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.005442, allocations: 11.94 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.005572, allocations: 59.31 kB / 378.8 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.005927, allocations: 178.4 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.006156, allocations: 107.8 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.006744, allocations: 0.5633 MB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.006967, allocations: 109 kB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.007362, allocations: 323.4 kB / 380 MB, free: 212 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.007604, allocations: 147.6 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.189e-05/0.007676, allocations: 44 kB / 380.2 MB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.007778, allocations: 40.05 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.559e-05/0.007873, allocations: 103.5 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.008092, allocations: 183.6 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006255/0.008717, allocations: 0.5217 MB / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.00872, allocations: 4 kB / 381.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.008721, allocations: 0 / 381.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.008729, allocations: 0 / 381.1 MB, free: 15.17 MB / 362.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.001114/0.009843, allocations: 0.7724 MB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.009876, allocations: 12.03 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.01002, allocations: 96.61 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.01037, allocations: 232.5 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.0104, allocations: 33.38 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/0.01049, allocations: 56.33 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008311/0.01132, allocations: 0.4883 MB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.01136, allocations: 16.12 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.0114, allocations: 20.38 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.01142, allocations: 12.38 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.01186, allocations: 251.6 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.0144, allocations: 2.029 MB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.01504, allocations: 480.1 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.01528, allocations: 173.2 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.01531, allocations: 15.98 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.01536, allocations: 49.33 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.01536, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007991/0.01616, allocations: 365.1 kB / 386.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/0.01634, allocations: 269 kB / 386.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.01671, allocations: 344.3 kB / 386.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.01674, allocations: 33.7 kB / 386.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.01698, allocations: 303 kB / 387.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.01717, allocations: 198.4 kB / 387.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.01736, allocations: 140.8 kB / 387.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003256/0.01768, allocations: 0.5469 MB / 387.9 MB, free: 7.836 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.0179, allocations: 118 kB / 388 MB, free: 7.719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.01852, allocations: 0.5477 MB / 388.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/0.01949, allocations: 0.7175 MB / 389.3 MB, free: 6.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.0195, allocations: 4 kB / 389.3 MB, free: 6.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009352/0.02043, allocations: 0.6106 MB / 389.9 MB, free: 5.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.02046, allocations: 8 kB / 389.9 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.02048, allocations: 12 kB / 389.9 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/0.02051, allocations: 15.98 kB / 390 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.02107, allocations: 175.7 kB / 390.1 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.742e-05/0.02109, allocations: 19.94 kB / 390.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.02136, allocations: 67.52 kB / 390.2 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.0214, allocations: 32.28 kB / 390.3 MB, free: 5.129 MB / 362.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.0002525/0.02165, allocations: 244.2 kB / 390.5 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.02185, allocations: 51.75 kB / 390.5 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.02196, allocations: 41.77 kB / 390.6 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.02196, allocations: 4 kB / 390.6 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.02197, allocations: 4 kB / 390.6 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.02198, allocations: 4 kB / 390.6 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009691/0.02295, allocations: 368.2 kB / 391 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.02295, allocations: 0 / 391 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.02353, allocations: 123.9 kB / 391.1 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.02354, allocations: 4 kB / 391.1 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.02357, allocations: 20 kB / 391.1 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.02357, allocations: 0 / 391.1 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.02358, allocations: 7.938 kB / 391.1 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.02483, allocations: 1.494 MB / 392.6 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.0249, allocations: 43.62 kB / 392.6 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.02494, allocations: 12 kB / 392.7 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.02531, allocations: 8.125 kB / 392.7 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/0.02539, allocations: 39.83 kB / 392.7 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.02541, allocations: 19.98 kB / 392.7 MB, free: 2.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001931/0.0256, allocations: 213.1 kB / 392.9 MB, free: 2.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0256, allocations: 0 / 392.9 MB, free: 2.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007918/0.02639, allocations: 135.8 kB / 393.1 MB, free: 2.242 MB / 362.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.0001398/0.02653, allocations: 111.2 kB / 393.2 MB, free: 2.125 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006269/0.02716, allocations: 379.7 kB / 393.5 MB, free: 1.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02716, allocations: 0 / 393.5 MB, free: 1.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.02739, allocations: 151.4 kB / 393.7 MB, free: 1.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.02856, allocations: 97.19 kB / 393.8 MB, free: 1.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.0309, allocations: 1.536 MB / 395.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.03119, allocations: 228.1 kB / 395.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.03134, allocations: 47.44 kB / 395.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.03142, allocations: 32.5 kB / 395.6 MB, free: 15.58 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03142, allocations: 0 / 395.6 MB, free: 15.58 MB / 378.7 MB Notification: Performance of Templates: time 0.009476/0.04089, allocations: 4.113 MB / 399.7 MB, free: 11.55 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] 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: 5.148361157043837]