Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.001549/0.001549, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001303/0.001303, allocations: 165 kB / 23.79 MB, free: 0.7812 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 0.9261/0.9261, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.1511/0.1511, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.439e-05, allocations: 4.281 kB / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002405/0.002429, allocations: 2.42 MB / 350.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003628, allocations: 0.8031 MB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.003778, allocations: 11.94 kB / 350.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.004025, allocations: 47.58 kB / 350.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.004257, allocations: 103.2 kB / 351 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.004472, allocations: 99.72 kB / 351.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.004707, allocations: 350.6 kB / 351.5 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.00486, allocations: 68.89 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.005075, allocations: 199.6 kB / 351.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.005195, allocations: 111.7 kB / 351.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.005237, allocations: 32 kB / 351.9 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.011e-05/0.005267, allocations: 28 kB / 351.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.005306, allocations: 63.8 kB / 352 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.005374, allocations: 95.75 kB / 352.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.005586, allocations: 247 kB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005589, allocations: 0 / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00559, allocations: 0 / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.005597, allocations: 4 kB / 352.3 MB, free: 4.797 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006972/0.006294, allocations: 0.6401 MB / 352.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.006341, allocations: 11.97 kB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.006415, allocations: 56.7 kB / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.006641, allocations: 200.1 kB / 353.2 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.006656, allocations: 16.88 kB / 353.2 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.006685, allocations: 28.31 kB / 353.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.006995, allocations: 197.3 kB / 353.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.00701, allocations: 192 / 353.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.007036, allocations: 8.375 kB / 353.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.007052, allocations: 15.94 kB / 353.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.007234, allocations: 114.9 kB / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.008099, allocations: 0.7418 MB / 354.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.008385, allocations: 207 kB / 354.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.008495, allocations: 83.66 kB / 354.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.008526, allocations: 8 kB / 354.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.008548, allocations: 45.38 kB / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.008549, allocations: 0 / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.001954/0.0105, allocations: 0.8318 MB / 355.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.01053, allocations: 59.34 kB / 355.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.01067, allocations: 264.3 kB / 355.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.01069, allocations: 33.7 kB / 355.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.01078, allocations: 212 kB / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.01082, allocations: 111 kB / 356.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.01089, allocations: 63.36 kB / 356.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.01097, allocations: 0.5079 MB / 356.7 MB, free: 148 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.01105, allocations: 47.91 kB / 356.8 MB, free: 100 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.01114, allocations: 91.27 kB / 356.9 MB, free: 0 / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.01136, allocations: 137 kB / 357 MB, free: 15.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01137, allocations: 0 / 357 MB, free: 15.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008281/0.0122, allocations: 456.7 kB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01221, allocations: 7.938 kB / 357.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01221, allocations: 4 kB / 357.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.01343, allocations: 470.2 kB / 357.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.01351, allocations: 23.98 kB / 357.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/0.01789, allocations: 7.779 MB / 365.7 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.01798, allocations: 27.83 kB / 365.7 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.018, allocations: 8 kB / 365.7 MB, free: 6.566 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.0181, allocations: 172.6 kB / 365.9 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.01814, allocations: 31.86 kB / 365.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000742/0.01889, allocations: 458.9 kB / 366.4 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01889, allocations: 4 kB / 366.4 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.01889, allocations: 4 kB / 366.4 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.0189, allocations: 3.984 kB / 366.4 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.01912, allocations: 248.3 kB / 366.6 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01912, allocations: 4 kB / 366.7 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.01916, allocations: 19.92 kB / 366.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.02027, allocations: 462.3 kB / 367.1 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.02029, allocations: 11.94 kB / 367.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004706/0.025, allocations: 7.83 MB / 375 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.025, allocations: 0 / 375 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.02576, allocations: 0.5838 MB / 375.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.02577, allocations: 31.78 kB / 375.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.02579, allocations: 15.86 kB / 375.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.02587, allocations: 8 kB / 375.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.02598, allocations: 35.88 kB / 375.6 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.02599, allocations: 8 kB / 375.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.0261, allocations: 189.1 kB / 375.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0261, allocations: 0 / 375.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.02644, allocations: 123.9 kB / 376 MB, free: 11.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.056e-05/0.02653, allocations: 99.25 kB / 376 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006477/0.02718, allocations: 0.8898 MB / 376.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02718, allocations: 4.062 kB / 376.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.02781, allocations: 0.9169 MB / 377.9 MB, free: 9.676 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.02802, allocations: 24.67 kB / 377.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.02863, allocations: 0.5103 MB / 378.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.952e-05/0.0287, allocations: 100.6 kB / 378.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.02874, allocations: 9.969 kB / 378.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.02877, allocations: 12.5 kB / 378.5 MB, free: 8.973 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02877, allocations: 0 / 378.5 MB, free: 8.973 MB / 314.7 MB Notification: Performance of Templates: time 0.01079/0.03956, allocations: 9.108 MB / 387.6 MB, free: 15.9 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.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.3924519289284945]