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.001338/0.001338, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001688/0.001688, allocations: 215.5 kB / 24.48 MB, free: 3.938 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.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.2791/0.2791, allocations: 46.96 MB / 361.6 MB, free: 4.047 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 0.002081/0.002081, allocations: 71.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3405, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003987/0.3445, allocations: 2.352 MB / 0.5641 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3459, allocations: 0.7867 MB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.346, allocations: 8 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.3462, allocations: 59.45 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.3465, allocations: 107.2 kB / 0.565 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.3468, allocations: 103.8 kB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.3472, allocations: 354.7 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.3474, allocations: 76.56 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.3477, allocations: 151.5 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.3479, allocations: 155.3 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.348, allocations: 28.05 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.348, allocations: 35.94 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.3481, allocations: 71.69 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.3482, allocations: 127.4 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.3487, allocations: 377.2 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3487, allocations: 0 / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3487, allocations: 3.938 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.3487, allocations: 4 kB / 0.5665 GB, free: 15.39 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001243/0.3499, allocations: 0.5596 MB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.35, allocations: 12.03 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3502, allocations: 44.69 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.3505, allocations: 205 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.3506, allocations: 20.88 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.3506, allocations: 28.36 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.3512, allocations: 248.3 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3512, allocations: 4 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.3512, allocations: 12 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3512, allocations: 4 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.3518, allocations: 229.9 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.3532, allocations: 0.7344 MB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.3537, allocations: 282.5 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.354, allocations: 128.8 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.3541, allocations: 3.938 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3541, allocations: 42.55 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.3541, allocations: 0 / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004885/0.359, allocations: 0.9688 MB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.359, allocations: 55.41 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.3593, allocations: 229.1 kB / 0.5702 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.3593, allocations: 29.7 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3595, allocations: 165.3 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3596, allocations: 115 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3597, allocations: 45.7 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3598, allocations: 338.8 kB / 0.5708 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.3601, allocations: 95.95 kB / 0.5709 GB, free: 10.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.3603, allocations: 122.8 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/0.3608, allocations: 223.4 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3608, allocations: 0 / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002024/0.3629, allocations: 0.5566 MB / 0.5718 GB, free: 9.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3629, allocations: 4 kB / 0.5718 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3629, allocations: 0 / 0.5718 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/0.3648, allocations: 315.1 kB / 0.5721 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.365, allocations: 23.98 kB / 0.5721 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008089/0.3731, allocations: 6.3 MB / 0.5783 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.3733, allocations: 23.88 kB / 0.5783 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.3734, allocations: 11.98 kB / 0.5783 GB, free: 2.625 MB / 414.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.0001799/0.3736, allocations: 145.8 kB / 0.5784 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.3736, allocations: 31.8 kB / 0.5785 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.3756, allocations: 0.5501 MB / 0.579 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3756, allocations: 0 / 0.579 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3756, allocations: 0 / 0.579 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3756, allocations: 11.98 kB / 0.579 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.376, allocations: 249.1 kB / 0.5792 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.376, allocations: 3.938 kB / 0.5793 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.3762, allocations: 16.17 kB / 0.5793 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/0.3779, allocations: 319.1 kB / 0.5796 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.3779, allocations: 7.984 kB / 0.5796 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00806/0.386, allocations: 6.337 MB / 0.5858 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.386, allocations: 0 / 0.5858 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.388, allocations: 0.6128 MB / 0.5864 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.388, allocations: 31.69 kB / 0.5864 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.3881, allocations: 8 kB / 0.5864 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.3883, allocations: 15.98 kB / 0.5864 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3884, allocations: 35.94 kB / 0.5865 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.3884, allocations: 4 kB / 0.5865 GB, free: 9.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.3886, allocations: 172.5 kB / 0.5866 GB, free: 9.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3886, allocations: 0 / 0.5866 GB, free: 9.582 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000594/0.3892, allocations: 115.9 kB / 0.5867 GB, free: 9.469 MB / 430.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.000139/0.3893, allocations: 103.5 kB / 0.5868 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.3906, allocations: 0.7484 MB / 0.5876 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3906, allocations: 7.938 kB / 0.5876 GB, free: 8.551 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.392, allocations: 0.7172 MB / 0.5883 GB, free: 7.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3924, allocations: 40.78 kB / 0.5883 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.3935, allocations: 0.5606 MB / 0.5889 GB, free: 7.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.3937, allocations: 167.8 kB / 0.589 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.491e-05/0.3937, allocations: 9.953 kB / 0.589 GB, free: 6.965 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.3938, allocations: 15.44 kB / 0.589 GB, free: 6.949 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3938, allocations: 3.938 kB / 0.589 GB, free: 6.945 MB / 430.1 MB Notification: Performance of Templates: time 0.01542/0.4092, allocations: 8.802 MB / 0.5976 GB, free: 14.18 MB / 446.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/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.686065334986779]