Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001464/0.001464, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001495/0.001495, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9368/0.9368, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.161/0.161, allocations: 34.87 MB / 297.4 MB, free: 13.42 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.504e-05, allocations: 4.281 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004295/0.00433, allocations: 3.024 MB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.005362, allocations: 422.5 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.005672, allocations: 15.88 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.005822, allocations: 63.3 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.006271, allocations: 178.4 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.006585, allocations: 103.8 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005991/0.007184, allocations: 0.5633 MB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.00744, allocations: 109.2 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.007905, allocations: 319.4 kB / 384.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.008164, allocations: 147.6 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.008249, allocations: 44 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.565e-05/0.008334, allocations: 47.94 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.008407, allocations: 95.64 kB / 385.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.008608, allocations: 183.6 kB / 385.3 MB, free: 17.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.00912, allocations: 350.7 kB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.009129, allocations: 0 / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.00913, allocations: 0 / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.583e-05/0.009156, allocations: 0 / 385.6 MB, free: 17.11 MB / 314.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.0009127/0.01007, allocations: 0.7531 MB / 386.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.01012, allocations: 16.02 kB / 386.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.01029, allocations: 92.61 kB / 386.5 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.01064, allocations: 235.2 kB / 386.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.01068, allocations: 29.38 kB / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.01076, allocations: 56.31 kB / 386.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.01121, allocations: 376 kB / 387.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.01125, allocations: 20.02 kB / 387.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.01128, allocations: 20.38 kB / 387.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.01129, allocations: 12.38 kB / 387.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.01153, allocations: 146.5 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.013, allocations: 1.877 MB / 389.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.01326, allocations: 404 kB / 389.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.01333, allocations: 137.2 kB / 389.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.01335, allocations: 12 kB / 389.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.01338, allocations: 53.33 kB / 389.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.404e-06/0.01339, allocations: 0 / 389.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004284/0.01382, allocations: 282 kB / 390.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.01387, allocations: 272.9 kB / 390.4 MB, free: 11.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.014, allocations: 292 kB / 390.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.01401, allocations: 37.69 kB / 390.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.0141, allocations: 291.5 kB / 391 MB, free: 11.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/0.01417, allocations: 194.3 kB / 391.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.01425, allocations: 120.2 kB / 391.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.01433, allocations: 0.5312 MB / 391.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.01438, allocations: 49.95 kB / 391.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.01454, allocations: 489.3 kB / 392.3 MB, free: 9.754 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.01487, allocations: 0.5989 MB / 392.9 MB, free: 8.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.01487, allocations: 4 kB / 392.9 MB, free: 8.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003751/0.01525, allocations: 481.1 kB / 393.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01527, allocations: 12 kB / 393.4 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.01528, allocations: 8 kB / 393.4 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.0153, allocations: 19.98 kB / 393.4 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.01558, allocations: 179.7 kB / 393.6 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.01559, allocations: 20.39 kB / 393.6 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.01573, allocations: 67.52 kB / 393.7 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.01576, allocations: 32.23 kB / 393.7 MB, free: 8.152 MB / 314.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 9.351e-05/0.01585, allocations: 208.2 kB / 393.9 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.01597, allocations: 51.75 kB / 394 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.01601, allocations: 41.77 kB / 394 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.01602, allocations: 8 kB / 394 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.01602, allocations: 0 / 394 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.01603, allocations: 7.984 kB / 394 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.01652, allocations: 256.8 kB / 394.3 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01652, allocations: 4 kB / 394.3 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.0168, allocations: 123.9 kB / 394.4 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.01681, allocations: 4 kB / 394.4 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.01683, allocations: 15.98 kB / 394.4 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.01683, allocations: 8.125 kB / 394.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01683, allocations: 0 / 394.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.0173, allocations: 1.407 MB / 395.9 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.01733, allocations: 35.69 kB / 395.9 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.01736, allocations: 12 kB / 395.9 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.01757, allocations: 12 kB / 395.9 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.01761, allocations: 39.81 kB / 395.9 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.01762, allocations: 15.94 kB / 396 MB, free: 5.844 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.01768, allocations: 189.1 kB / 396.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01768, allocations: 0 / 396.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005462/0.01823, allocations: 139.7 kB / 396.3 MB, free: 5.52 MB / 314.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 9.392e-05/0.01832, allocations: 107.8 kB / 396.4 MB, free: 5.406 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.01856, allocations: 271.2 kB / 396.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01856, allocations: 0 / 396.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.01863, allocations: 112.2 kB / 396.8 MB, free: 5.027 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/0.01935, allocations: 98.94 kB / 396.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.02077, allocations: 1.516 MB / 398.4 MB, free: 3.359 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.311e-05/0.02087, allocations: 117.7 kB / 398.5 MB, free: 3.227 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.02098, allocations: 55.42 kB / 398.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.02114, allocations: 158.2 kB / 398.7 MB, free: 3.012 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.02114, allocations: 4 kB / 398.7 MB, free: 3.008 MB / 314.7 MB Notification: Performance of Templates: time 0.006549/0.02769, allocations: 4.548 MB / 403.3 MB, free: 14.57 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.3196498537436128]