Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 106.5 kB / 21.22 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001596/0.001596, allocations: 213.9 kB / 24.54 MB, free: 3.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.3 MB / 258 MB, free: 8.191 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2406/0.2406, allocations: 46.94 MB / 361.4 MB, free: 4.395 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003475/0.003475, allocations: 91.84 kB / 0.4972 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3856, allocations: 66.03 MB / 0.5616 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005786/0.3914, allocations: 3.102 MB / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3925, allocations: 414.5 kB / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.3927, allocations: 15.94 kB / 0.5651 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.3929, allocations: 63.31 kB / 0.5651 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004663/0.3933, allocations: 170.5 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.3937, allocations: 99.86 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007853/0.3945, allocations: 0.5404 MB / 0.5659 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.3947, allocations: 113.2 kB / 0.566 GB, free: 8 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.3951, allocations: 215.4 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.3954, allocations: 219 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-05/0.3955, allocations: 40 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.3956, allocations: 40 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.3957, allocations: 99.67 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.396, allocations: 238.9 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.3966, allocations: 0.5315 MB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3966, allocations: 4 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3966, allocations: 4 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3966, allocations: 3.938 kB / 0.5674 GB, free: 14.63 MB / 414.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.001011/0.3976, allocations: 0.6493 MB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3977, allocations: 12.03 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.3978, allocations: 52.61 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.3981, allocations: 233.8 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.3981, allocations: 37.38 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.3982, allocations: 52.33 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.3989, allocations: 454.7 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.3989, allocations: 12.12 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.399, allocations: 27.94 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.399, allocations: 12 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.3994, allocations: 255.7 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.4018, allocations: 1.644 MB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.4024, allocations: 411.6 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.4026, allocations: 155.6 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.4027, allocations: 8 kB / 0.5713 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.4027, allocations: 42.5 kB / 0.5713 GB, free: 10.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.384e-06/0.4027, allocations: 0 / 0.5713 GB, free: 10.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007885/0.4035, allocations: 358 kB / 0.5717 GB, free: 9.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/0.4037, allocations: 272.9 kB / 0.5719 GB, free: 9.629 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.404, allocations: 254.1 kB / 0.5722 GB, free: 9.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.404, allocations: 29.7 kB / 0.5722 GB, free: 9.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.4042, allocations: 256.2 kB / 0.5724 GB, free: 9.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.4044, allocations: 186.4 kB / 0.5726 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.4045, allocations: 118.8 kB / 0.5727 GB, free: 8.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.4047, allocations: 346.8 kB / 0.573 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.405, allocations: 122 kB / 0.5732 GB, free: 8.312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.4054, allocations: 413.6 kB / 0.5736 GB, free: 7.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/0.4062, allocations: 0.5731 MB / 0.5741 GB, free: 7.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.4062, allocations: 4 kB / 0.5741 GB, free: 7.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008934/0.4071, allocations: 0.5717 MB / 0.5747 GB, free: 6.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4071, allocations: 8 kB / 0.5747 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4071, allocations: 8 kB / 0.5747 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.4071, allocations: 16.78 kB / 0.5747 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.4077, allocations: 183.7 kB / 0.5749 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.862e-05/0.4077, allocations: 27.92 kB / 0.5749 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.408, allocations: 67.52 kB / 0.575 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.4081, allocations: 32 kB / 0.575 GB, free: 6.141 MB / 414.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.0002277/0.4083, allocations: 185.5 kB / 0.5752 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.4085, allocations: 39.77 kB / 0.5752 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.4086, allocations: 41.7 kB / 0.5753 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4086, allocations: 7.938 kB / 0.5753 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4086, allocations: 11.94 kB / 0.5753 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.4086, allocations: 7.984 kB / 0.5753 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.4097, allocations: 388.3 kB / 0.5757 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4097, allocations: 0 / 0.5757 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.4103, allocations: 119.9 kB / 0.5758 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.4103, allocations: 7.984 kB / 0.5758 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.4103, allocations: 12 kB / 0.5758 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.4103, allocations: 7.938 kB / 0.5758 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4103, allocations: 4 kB / 0.5758 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.4114, allocations: 1.09 MB / 0.5769 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.4114, allocations: 31.75 kB / 0.5769 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.4115, allocations: 19.98 kB / 0.5769 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.4119, allocations: 11.94 kB / 0.5769 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.4119, allocations: 31.89 kB / 0.577 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4119, allocations: 12 kB / 0.577 GB, free: 4.047 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.4121, allocations: 173.2 kB / 0.5771 GB, free: 3.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4121, allocations: 0 / 0.5771 GB, free: 3.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008753/0.413, allocations: 139.7 kB / 0.5773 GB, free: 3.738 MB / 414.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.0001916/0.4132, allocations: 122.9 kB / 0.5774 GB, free: 3.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005857/0.4138, allocations: 328.9 kB / 0.5777 GB, free: 3.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.4138, allocations: 4 kB / 0.5777 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.414, allocations: 124.7 kB / 0.5778 GB, free: 3.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.4152, allocations: 108.7 kB / 0.5779 GB, free: 3.062 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.4183, allocations: 1.981 MB / 0.5799 GB, free: 1.031 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.4188, allocations: 0.8313 MB / 0.5807 GB, free: 176 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.419, allocations: 48.16 kB / 0.5807 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.419, allocations: 31.44 kB / 0.5808 GB, free: 92 kB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.419, allocations: 0 / 0.5808 GB, free: 92 kB / 414.1 MB Notification: Performance of Templates: time 0.0102/0.4292, allocations: 4.528 MB / 0.5852 GB, free: 11.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.518245114013553]