Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.005232/0.005232, allocations: 109.2 kB / 21.98 MB, free: 5.18 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.001432/0.001432, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 259 MB, free: 8.047 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-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.88 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2452, allocations: 53.36 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006705/0.2519, allocations: 5.138 MB / 438.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003768/0.2557, allocations: 2.195 MB / 440.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.256, allocations: 16 kB / 440.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.2591, allocations: 1.419 MB / 442 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.2602, allocations: 425.3 kB / 442.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.2625, allocations: 1.217 MB / 443.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009341/0.2635, allocations: 0.7472 MB / 444.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008718/0.2643, allocations: 0.5789 MB / 444.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004481/0.2648, allocations: 342.8 kB / 445.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.2653, allocations: 430.3 kB / 445.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-05/0.2654, allocations: 68 kB / 445.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008292/0.2663, allocations: 419.5 kB / 446.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.2664, allocations: 167.4 kB / 446.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003574/0.2668, allocations: 382.1 kB / 446.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.2682, allocations: 1.224 MB / 447.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2682, allocations: 3.984 kB / 447.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2682, allocations: 4 kB / 447.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.2682, allocations: 0 / 447.9 MB, free: 8.207 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.004201/0.2724, allocations: 1.413 MB / 449.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2725, allocations: 8.031 kB / 449.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/0.275, allocations: 364.1 kB / 449.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.2752, allocations: 201.6 kB / 449.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.2753, allocations: 62.36 kB / 449.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.2754, allocations: 84.38 kB / 450 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.2771, allocations: 0.8718 MB / 450.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.2771, allocations: 11.94 kB / 450.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.2772, allocations: 32 kB / 450.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.2772, allocations: 23.98 kB / 451 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.279, allocations: 0.7925 MB / 451.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.2834, allocations: 2.775 MB / 454.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2845, allocations: 0.5107 MB / 455 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/0.285, allocations: 222.2 kB / 455.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.604e-05/0.2851, allocations: 24.47 kB / 455.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.2851, allocations: 39.06 kB / 455.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.094e-06/0.2851, allocations: 0 / 455.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007016/0.2922, allocations: 2.167 MB / 457.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.2922, allocations: 85.61 kB / 457.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.2926, allocations: 324.3 kB / 457.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.2926, allocations: 33.7 kB / 457.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.2929, allocations: 375.9 kB / 458.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.2931, allocations: 226.1 kB / 458.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.2933, allocations: 146.6 kB / 458.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2935, allocations: 350.7 kB / 459 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007362/0.2942, allocations: 273.8 kB / 459.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009382/0.2951, allocations: 0.5004 MB / 459.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.2968, allocations: 0.8049 MB / 460.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2968, allocations: 8 kB / 460.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002062/0.2989, allocations: 0.905 MB / 461.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.2989, allocations: 11.94 kB / 461.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.2989, allocations: 8 kB / 461.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/0.2992, allocations: 65.67 kB / 461.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008407/0.3, allocations: 199.7 kB / 461.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.3022, allocations: 2.661 MB / 464.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/0.3028, allocations: 59.94 kB / 464.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.3028, allocations: 36 kB / 464.5 MB, free: 6.789 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.0002996/0.3031, allocations: 213.6 kB / 464.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.3032, allocations: 51.59 kB / 464.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.3051, allocations: 0.7259 MB / 465.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3051, allocations: 8 kB / 465.5 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3051, allocations: 0 / 465.5 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.3051, allocations: 7.922 kB / 465.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.3078, allocations: 1.391 MB / 466.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.3078, allocations: 0 / 466.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/0.3085, allocations: 135.8 kB / 467 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/0.3087, allocations: 57.67 kB / 467.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.3087, allocations: 16 kB / 467.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.3108, allocations: 2.65 MB / 469.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3108, allocations: 0 / 469.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.3133, allocations: 1.078 MB / 470.8 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.3135, allocations: 91.61 kB / 470.9 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.3136, allocations: 12 kB / 470.9 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.3141, allocations: 48.06 kB / 471 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3142, allocations: 52.34 kB / 471 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.3143, allocations: 16 kB / 471.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002519/0.3145, allocations: 219.1 kB / 471.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3145, allocations: 0 / 471.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007005/0.3152, allocations: 176 kB / 471.4 MB, free: 15.54 MB / 382.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.000278/0.3155, allocations: 169.3 kB / 471.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.3175, allocations: 0.884 MB / 472.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3175, allocations: 0 / 472.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.3185, allocations: 0.5241 MB / 473 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3189, allocations: 52.95 kB / 473.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.3215, allocations: 1.237 MB / 474.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.322, allocations: 0.8849 MB / 475.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.3223, allocations: 63.41 kB / 475.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3223, allocations: 0 / 475.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01774/0.34, allocations: 13.63 MB / 488.9 MB, free: 13.99 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.021315291989595]