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.001455/0.001455, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001426/0.001426, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001488/0.001488, allocations: 51.92 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2245, allocations: 53.37 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004293/0.2288, allocations: 2.87 MB / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2302, allocations: 0.81 MB / 436.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.2303, allocations: 11.94 kB / 436.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.2305, allocations: 63.42 kB / 436.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.2308, allocations: 99.17 kB / 436.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.231, allocations: 123.8 kB / 436.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.2315, allocations: 394.5 kB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.2316, allocations: 95.33 kB / 436.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.2319, allocations: 171.3 kB / 437 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.2322, allocations: 167.2 kB / 437.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.2322, allocations: 32 kB / 437.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.55e-05/0.2323, allocations: 36 kB / 437.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.2323, allocations: 87.61 kB / 437.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.2325, allocations: 179.1 kB / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.2329, allocations: 411.5 kB / 437.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2329, allocations: 0 / 437.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2329, allocations: 0 / 437.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.233, allocations: 0 / 437.9 MB, free: 1.379 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.001205/0.2342, allocations: 0.5857 MB / 438.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2342, allocations: 8.031 kB / 438.5 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.2343, allocations: 44.64 kB / 438.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.2346, allocations: 225.6 kB / 438.8 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.2347, allocations: 25.03 kB / 438.8 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.2347, allocations: 28.38 kB / 438.8 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.2353, allocations: 302.3 kB / 439.1 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2353, allocations: 0 / 439.1 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.2354, allocations: 16 kB / 439.1 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.2354, allocations: 8 kB / 439.1 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.236, allocations: 250.5 kB / 439.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.2378, allocations: 1.041 MB / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.2382, allocations: 153.8 kB / 440.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.2383, allocations: 68.73 kB / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.2384, allocations: 4 kB / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2384, allocations: 30.56 kB / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.2384, allocations: 0 / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002053/0.2405, allocations: 0.5998 MB / 441.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.2405, allocations: 51.41 kB / 441.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.2408, allocations: 292.1 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2408, allocations: 25.7 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.241, allocations: 236.1 kB / 441.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.2411, allocations: 75.39 kB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.2412, allocations: 69.64 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2414, allocations: 342.8 kB / 442.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.2416, allocations: 91.94 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.242, allocations: 196 kB / 442.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.2426, allocations: 305.1 kB / 442.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2426, allocations: 0 / 442.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008696/0.2435, allocations: 401.4 kB / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2435, allocations: 14.95 kB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2435, allocations: 7.984 kB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/0.2438, allocations: 53.69 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.2441, allocations: 75.89 kB / 443.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.2464, allocations: 2.638 MB / 446.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.2467, allocations: 20.11 kB / 446.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.2467, allocations: 16 kB / 446.1 MB, free: 8.594 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.0001573/0.2468, allocations: 157.7 kB / 446.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.2469, allocations: 31.75 kB / 446.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.247, allocations: 34.3 kB / 446.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.247, allocations: 0 / 446.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.247, allocations: 8 kB / 446.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.247, allocations: 3.984 kB / 446.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.2473, allocations: 308.5 kB / 446.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2473, allocations: 3.938 kB / 446.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.2476, allocations: 39.97 kB / 446.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/0.2477, allocations: 57.67 kB / 446.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2477, allocations: 4 kB / 446.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.2498, allocations: 2.626 MB / 449.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2498, allocations: 4.031 kB / 449.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007085/0.2505, allocations: 370.6 kB / 449.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.2505, allocations: 31.92 kB / 449.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.2506, allocations: 4 kB / 449.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.2508, allocations: 23.95 kB / 449.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.2508, allocations: 15.97 kB / 449.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.2509, allocations: 4 kB / 449.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.2511, allocations: 203.1 kB / 450 MB, free: 4.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2511, allocations: 4 kB / 450 MB, free: 4.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.2514, allocations: 76 kB / 450.1 MB, free: 4.305 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.0001096/0.2515, allocations: 103.1 kB / 450.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009408/0.2525, allocations: 485 kB / 450.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2525, allocations: 0 / 450.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.253, allocations: 346 kB / 451 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2533, allocations: 30.53 kB / 451.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2544, allocations: 0.5774 MB / 451.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.2548, allocations: 0.783 MB / 452.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.2549, allocations: 23.44 kB / 452.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2549, allocations: 0 / 452.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of Templates: time 0.008476/0.2634, allocations: 6.122 MB / 458.6 MB, free: 11.73 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.173267676029354]