Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 184.5 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 55.91 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.221, allocations: 52.15 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00673/0.2277, allocations: 5.121 MB / 426 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.2311, allocations: 2.121 MB / 428.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.2314, allocations: 16 kB / 428.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003072/0.2344, allocations: 1.408 MB / 429.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.2357, allocations: 0.5816 MB / 430.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.2377, allocations: 1.073 MB / 431.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009336/0.2386, allocations: 0.7472 MB / 431.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008324/0.2395, allocations: 0.5087 MB / 432.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.2399, allocations: 338.8 kB / 432.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.2404, allocations: 434.3 kB / 433.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.154e-05/0.2405, allocations: 68 kB / 433.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007304/0.2412, allocations: 387.7 kB / 433.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.2413, allocations: 167.4 kB / 433.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.2417, allocations: 378.1 kB / 434.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.2432, allocations: 1.208 MB / 435.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2432, allocations: 0 / 435.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2432, allocations: 0 / 435.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.2432, allocations: 0 / 435.4 MB, free: 0.5508 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004481/0.2477, allocations: 1.477 MB / 436.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2477, allocations: 11.97 kB / 436.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.2503, allocations: 388.1 kB / 437.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.2507, allocations: 267.8 kB / 437.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.2507, allocations: 62.38 kB / 437.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.2509, allocations: 80.38 kB / 437.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.2526, allocations: 0.8757 MB / 438.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.2526, allocations: 4 kB / 438.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.054e-05/0.2527, allocations: 40 kB / 438.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.2527, allocations: 20 kB / 438.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.2546, allocations: 0.7964 MB / 439.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/0.2594, allocations: 2.946 MB / 442.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.2608, allocations: 0.9652 MB / 443.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.2613, allocations: 226.4 kB / 443.5 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.2614, allocations: 93.66 kB / 443.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.2615, allocations: 47 kB / 443.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.535e-06/0.2615, allocations: 0 / 443.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008064/0.2695, allocations: 2.428 MB / 446.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.2696, allocations: 85.67 kB / 446.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.27, allocations: 320.4 kB / 446.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.27, allocations: 33.7 kB / 446.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.2703, allocations: 375.9 kB / 446.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.2705, allocations: 222.1 kB / 447.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.2707, allocations: 158.5 kB / 447.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2709, allocations: 350.7 kB / 447.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007934/0.2717, allocations: 273.8 kB / 447.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/0.2726, allocations: 0.5042 MB / 448.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.2744, allocations: 0.8115 MB / 449.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2744, allocations: 4 kB / 449.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002182/0.2766, allocations: 0.9028 MB / 450.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2767, allocations: 11.94 kB / 450.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2767, allocations: 8 kB / 450.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002439/0.2769, allocations: 77.64 kB / 450.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008916/0.2778, allocations: 207.7 kB / 450.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.2802, allocations: 2.864 MB / 453.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.2809, allocations: 59.94 kB / 453.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.2809, allocations: 39.98 kB / 453.4 MB, free: 13.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003104/0.2813, allocations: 227.5 kB / 453.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.256e-05/0.2813, allocations: 47.66 kB / 453.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.2834, allocations: 0.7351 MB / 454.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2834, allocations: 11.98 kB / 454.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2834, allocations: 4 kB / 454.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.2834, allocations: 7.922 kB / 454.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.2862, allocations: 1.425 MB / 455.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2862, allocations: 0 / 455.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.2869, allocations: 135.8 kB / 455.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.2871, allocations: 69.61 kB / 456 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.2872, allocations: 15.98 kB / 456 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.2893, allocations: 2.86 MB / 458.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2893, allocations: 0 / 458.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.2919, allocations: 1.087 MB / 460 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.2921, allocations: 164.8 kB / 460.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.2922, allocations: 8 kB / 460.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.2927, allocations: 51.94 kB / 460.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.2929, allocations: 52.5 kB / 460.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.2929, allocations: 19.98 kB / 460.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002494/0.2932, allocations: 219.1 kB / 460.5 MB, free: 5.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2932, allocations: 0 / 460.5 MB, free: 5.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006761/0.2938, allocations: 172 kB / 460.6 MB, free: 5.789 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002601/0.2941, allocations: 167.1 kB / 460.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.2962, allocations: 0.8927 MB / 461.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2962, allocations: 0 / 461.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.2972, allocations: 0.52 MB / 462.2 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.2976, allocations: 52.47 kB / 462.3 MB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.3003, allocations: 1.261 MB / 463.5 MB, free: 2.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.3008, allocations: 0.8887 MB / 464.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003915/0.3012, allocations: 96.52 kB / 464.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3013, allocations: 51.41 kB / 464.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3013, allocations: 0 / 464.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01342/0.3148, allocations: 6.781 MB / 471.3 MB, free: 11.02 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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: 4.4402081947773695]