Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001739/0.001739, allocations: 116.3 kB / 19.17 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 205 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.88 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09973, allocations: 53.32 MB / 427.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.1975/0.2972, allocations: 5.109 MB / 433 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.3002, allocations: 2.178 MB / 435.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.3005, allocations: 18.66 kB / 435.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.303, allocations: 1.41 MB / 436.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008863/0.3038, allocations: 432.7 kB / 437 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.3057, allocations: 1.214 MB / 438.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007416/0.3065, allocations: 0.7439 MB / 438.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006939/0.3072, allocations: 0.5042 MB / 439.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.3075, allocations: 340.3 kB / 439.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.3079, allocations: 429.5 kB / 440.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.101e-05/0.308, allocations: 67.38 kB / 440.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.3088, allocations: 414 kB / 440.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3089, allocations: 172.7 kB / 440.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.3092, allocations: 375.1 kB / 441.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.3106, allocations: 1.223 MB / 442.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3106, allocations: 0 / 442.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3106, allocations: 0 / 442.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.3106, allocations: 7.938 kB / 442.4 MB, free: 5.18 MB / 350.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.003994/0.3146, allocations: 1.491 MB / 443.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3146, allocations: 13.72 kB / 443.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/0.3172, allocations: 365.3 kB / 444.3 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.3174, allocations: 259.8 kB / 444.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.3175, allocations: 64.22 kB / 444.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3176, allocations: 82.94 kB / 444.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3191, allocations: 0.8727 MB / 445.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.3191, allocations: 9.828 kB / 445.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.3192, allocations: 31.5 kB / 445.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.3192, allocations: 19.69 kB / 445.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.3208, allocations: 0.7954 MB / 446.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/0.3247, allocations: 3.019 MB / 449.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.3257, allocations: 0.9577 MB / 450.4 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.3262, allocations: 220.6 kB / 450.6 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.3263, allocations: 187.8 kB / 450.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3263, allocations: 38.22 kB / 450.8 MB, free: 128 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.3263, allocations: 0 / 450.8 MB, free: 128 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007298/0.3336, allocations: 2.395 MB / 453.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.3337, allocations: 83.94 kB / 453.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.3341, allocations: 320.2 kB / 453.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.3342, allocations: 35.83 kB / 453.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.3344, allocations: 376.7 kB / 454 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.3346, allocations: 221.7 kB / 454.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.3348, allocations: 146.4 kB / 454.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.335, allocations: 351.7 kB / 454.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.3357, allocations: 268.5 kB / 455 MB, free: 13.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.3366, allocations: 0.5071 MB / 455.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.3382, allocations: 0.8112 MB / 456.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3382, allocations: 6.062 kB / 456.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002037/0.3402, allocations: 0.8933 MB / 457.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.3402, allocations: 17.09 kB / 457.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.3403, allocations: 6.531 kB / 457.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/0.3405, allocations: 70.2 kB / 457.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/0.3413, allocations: 197.3 kB / 457.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.3437, allocations: 2.871 MB / 460.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007102/0.3444, allocations: 60.81 kB / 460.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.3444, allocations: 39.23 kB / 460.5 MB, free: 9.527 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.0003516/0.3448, allocations: 217.8 kB / 460.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3449, allocations: 43.83 kB / 460.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.3468, allocations: 0.7225 MB / 461.4 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.3468, allocations: 13.11 kB / 461.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3468, allocations: 0.9062 kB / 461.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.3468, allocations: 9.078 kB / 461.5 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.3495, allocations: 1.416 MB / 462.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3495, allocations: 1.312 kB / 462.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/0.3501, allocations: 133.4 kB / 463 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.3503, allocations: 60.02 kB / 463.1 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.3503, allocations: 16.48 kB / 463.1 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.3525, allocations: 2.848 MB / 465.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3525, allocations: 3.875 kB / 465.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.3549, allocations: 1.08 MB / 467 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.3551, allocations: 170.4 kB / 467.2 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/0.3552, allocations: 11.84 kB / 467.2 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/0.3557, allocations: 47.67 kB / 467.2 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.3558, allocations: 45.28 kB / 467.3 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.3559, allocations: 19.77 kB / 467.3 MB, free: 4.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.3561, allocations: 217 kB / 467.5 MB, free: 3.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3561, allocations: 1.094 kB / 467.5 MB, free: 3.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007721/0.3569, allocations: 182.2 kB / 467.7 MB, free: 3.953 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.0003012/0.3572, allocations: 163.8 kB / 467.9 MB, free: 3.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.3591, allocations: 0.879 MB / 468.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3591, allocations: 0 / 468.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000992/0.3601, allocations: 0.5226 MB / 469.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.3607, allocations: 55.72 kB / 469.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.3635, allocations: 1.231 MB / 470.5 MB, free: 2.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.3641, allocations: 0.8878 MB / 471.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.3643, allocations: 68.17 kB / 471.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3643, allocations: 0 / 471.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of Templates: time 0.01948/0.3838, allocations: 13.64 MB / 485.1 MB, free: 6.203 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.023390504997224]