Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.001685/0.001685, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001981/0.001981, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.607/1.607, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2364/0.2364, allocations: 34.28 MB / 295 MB, free: 14.59 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+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.Magnetic.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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.07e-05, allocations: 6.281 kB / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004032/0.004063, allocations: 2.361 MB / 445 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.005549, allocations: 0.7905 MB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.005688, allocations: 4 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.005939, allocations: 55.52 kB / 445.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.006251, allocations: 115.1 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.006545, allocations: 103.7 kB / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.006996, allocations: 362.6 kB / 446.5 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.007175, allocations: 64.89 kB / 446.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.007534, allocations: 211.5 kB / 446.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.007729, allocations: 115.7 kB / 446.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.007783, allocations: 32 kB / 446.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.223e-05/0.007875, allocations: 36 kB / 446.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.007943, allocations: 63.73 kB / 447 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.008072, allocations: 103.7 kB / 447.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.008528, allocations: 390.7 kB / 447.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.008532, allocations: 0 / 447.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.008532, allocations: 4 kB / 447.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.008538, allocations: 3.938 kB / 447.5 MB, free: 0.6172 MB / 366.1 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.001117/0.009655, allocations: 0.5634 MB / 448 MB, free: 24 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.009699, allocations: 12.03 kB / 448 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2146/0.2243, allocations: 40.77 kB / 448.1 MB, free: 19.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.2247, allocations: 203 kB / 448.3 MB, free: 19.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.2247, allocations: 20.02 kB / 448.3 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.2248, allocations: 26.69 kB / 448.3 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.2254, allocations: 245.8 kB / 448.6 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2254, allocations: 1.094 kB / 448.6 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.2254, allocations: 15.03 kB / 448.6 MB, free: 19.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.2254, allocations: 6.062 kB / 448.6 MB, free: 19.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.226, allocations: 235.3 kB / 448.8 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.2273, allocations: 0.7322 MB / 449.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.2279, allocations: 287.5 kB / 449.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.2282, allocations: 126.8 kB / 449.9 MB, free: 18.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.2282, allocations: 4.125 kB / 449.9 MB, free: 18.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.2282, allocations: 35.22 kB / 450 MB, free: 18.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.2282, allocations: 0 / 450 MB, free: 18.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004687/0.2329, allocations: 0.9687 MB / 450.9 MB, free: 18.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.2329, allocations: 55.03 kB / 451 MB, free: 18.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.2332, allocations: 233.6 kB / 451.2 MB, free: 18.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2332, allocations: 31.02 kB / 451.3 MB, free: 18.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.308e-05/0.2333, allocations: 171.4 kB / 451.4 MB, free: 18.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.2334, allocations: 106.3 kB / 451.5 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-05/0.2334, allocations: 57.11 kB / 451.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.2335, allocations: 337.1 kB / 451.9 MB, free: 17.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.2337, allocations: 94.78 kB / 452 MB, free: 17.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.234, allocations: 126.1 kB / 452.1 MB, free: 17.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.2344, allocations: 232.9 kB / 452.4 MB, free: 17.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2344, allocations: 1.406 kB / 452.4 MB, free: 17.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001798/0.2362, allocations: 0.5382 MB / 452.9 MB, free: 17.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2363, allocations: 5.5 kB / 452.9 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2363, allocations: 3.938 kB / 452.9 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.238, allocations: 313.6 kB / 453.2 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2382, allocations: 26.16 kB / 453.2 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00654/0.2447, allocations: 6.281 MB / 459.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.2449, allocations: 43.77 kB / 459.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.245, allocations: 11.55 kB / 459.6 MB, free: 11.5 MB / 366.1 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.0001532/0.2451, allocations: 134.2 kB / 459.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.2452, allocations: 28.81 kB / 459.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.2471, allocations: 0.5522 MB / 460.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2471, allocations: 3.969 kB / 460.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.2471, allocations: 0.75 kB / 460.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2471, allocations: 2.625 kB / 460.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.2475, allocations: 245.1 kB / 460.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2475, allocations: 0.7969 kB / 460.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.2476, allocations: 18.8 kB / 460.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/0.2493, allocations: 317.5 kB / 460.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.2493, allocations: 9.5 kB / 460.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006265/0.2555, allocations: 6.343 MB / 467.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2555, allocations: 0 / 467.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.2574, allocations: 0.6178 MB / 467.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.2574, allocations: 28.36 kB / 467.9 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.2574, allocations: 6.938 kB / 467.9 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.2577, allocations: 15.05 kB / 467.9 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.2578, allocations: 36.12 kB / 467.9 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2578, allocations: 6.875 kB / 467.9 MB, free: 4.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.258, allocations: 171.9 kB / 468.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.258, allocations: 0 / 468.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006741/0.2587, allocations: 122.4 kB / 468.2 MB, free: 4.789 MB / 366.1 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 0.0001228/0.2588, allocations: 102 kB / 468.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.2598, allocations: 0.7442 MB / 469.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2598, allocations: 5.062 kB / 469.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.261, allocations: 0.7169 MB / 469.8 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.2614, allocations: 21.33 kB / 469.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009712/0.2623, allocations: 0.5454 MB / 470.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.2625, allocations: 172.8 kB / 470.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.775e-05/0.2625, allocations: 10.83 kB / 470.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.2626, allocations: 14.81 kB / 470.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2626, allocations: 0 / 470.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of Templates: time 0.01497/0.2776, allocations: 8.363 MB / 478.9 MB, free: 372 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.747338905930519]