Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001632/0.001632, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001879/0.001879, allocations: 209 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 43.94 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2294, allocations: 53.38 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004356/0.2337, allocations: 2.673 MB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.2352, allocations: 0.7555 MB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.2353, allocations: 4 kB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.2355, allocations: 71.31 kB / 435.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.2358, allocations: 106.1 kB / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.2361, allocations: 103.9 kB / 436 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.2365, allocations: 402.4 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.2367, allocations: 91.34 kB / 436.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.237, allocations: 167.4 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.2372, allocations: 159.2 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.2373, allocations: 32 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.22e-05/0.2374, allocations: 32 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.2374, allocations: 75.77 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.2376, allocations: 155.2 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.238, allocations: 406 kB / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.238, allocations: 0 / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.238, allocations: 0 / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.238, allocations: 4 kB / 437.5 MB, free: 1.488 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001222/0.2393, allocations: 0.5831 MB / 438.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2393, allocations: 11.97 kB / 438.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.2394, allocations: 40.7 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.2398, allocations: 229.6 kB / 438.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.2398, allocations: 21.03 kB / 438.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.2399, allocations: 40.38 kB / 438.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.2405, allocations: 290.4 kB / 438.7 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.2405, allocations: 0 / 438.7 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.2405, allocations: 12 kB / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.2405, allocations: 8 kB / 438.8 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.2412, allocations: 254.4 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.2428, allocations: 0.8704 MB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2432, allocations: 138.6 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.2434, allocations: 76.7 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.2434, allocations: 7.938 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.2435, allocations: 34.56 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.2435, allocations: 0 / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002171/0.2456, allocations: 0.5944 MB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.2457, allocations: 51.41 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.246, allocations: 281.8 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.246, allocations: 33.7 kB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.2462, allocations: 240 kB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.2463, allocations: 75.38 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.2464, allocations: 69.59 kB / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2466, allocations: 338.8 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.2469, allocations: 99.94 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.2473, allocations: 192 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/0.248, allocations: 305.1 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.248, allocations: 0 / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009342/0.2489, allocations: 405.4 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2489, allocations: 7.938 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2489, allocations: 8 kB / 442.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.2492, allocations: 61.61 kB / 442.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.2495, allocations: 71.89 kB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.2519, allocations: 2.584 MB / 445.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.2522, allocations: 23.98 kB / 445.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.2522, allocations: 19.98 kB / 445.5 MB, free: 8.969 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001959/0.2524, allocations: 153.8 kB / 445.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.2524, allocations: 27.8 kB / 445.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.2525, allocations: 34.27 kB / 445.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2525, allocations: 4 kB / 445.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2525, allocations: 0 / 445.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2525, allocations: 0 / 445.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.2529, allocations: 225.2 kB / 446 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2529, allocations: 3.938 kB / 446 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.2531, allocations: 43.91 kB / 446 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.2533, allocations: 61.67 kB / 446.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.2533, allocations: 0 / 446.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.2555, allocations: 2.584 MB / 448.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2555, allocations: 4.031 kB / 448.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.2563, allocations: 371.8 kB / 449 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.2563, allocations: 31.92 kB / 449.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.2563, allocations: 4 kB / 449.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2566, allocations: 19.98 kB / 449.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.2566, allocations: 23.95 kB / 449.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.2567, allocations: 7.938 kB / 449.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.2569, allocations: 197.2 kB / 449.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2569, allocations: 0 / 449.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.2573, allocations: 72 kB / 449.4 MB, free: 4.852 MB / 350.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 (18): * Single equations (assignments): 16 * 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.0001167/0.2574, allocations: 107.2 kB / 449.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009854/0.2584, allocations: 466 kB / 449.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2584, allocations: 4.062 kB / 449.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005472/0.2589, allocations: 341.2 kB / 450.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2593, allocations: 32.42 kB / 450.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2605, allocations: 0.5827 MB / 450.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.2607, allocations: 172.8 kB / 451.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.2608, allocations: 19.44 kB / 451.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2608, allocations: 0 / 451.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of Templates: time 0.009219/0.27, allocations: 6.253 MB / 457.3 MB, free: 12.8 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.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: 7.661610756069422]