Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001655/0.001655, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001991/0.001991, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.454/1.454, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 59.91 kB / 379 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2945, allocations: 53.41 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006745/0.3012, allocations: 4.547 MB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.305, allocations: 2.02 MB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.3053, allocations: 16 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.3084, allocations: 1.31 MB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.3096, allocations: 409.5 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.3121, allocations: 1.143 MB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009531/0.313, allocations: 0.7239 MB / 442.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009336/0.314, allocations: 0.5749 MB / 443.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.3145, allocations: 346.8 kB / 443.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.315, allocations: 374.3 kB / 443.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.3151, allocations: 68 kB / 443.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008808/0.316, allocations: 383.7 kB / 444.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.3161, allocations: 167.4 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.3164, allocations: 302.6 kB / 444.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.3179, allocations: 1.221 MB / 446 MB, free: 8.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3179, allocations: 0 / 446 MB, free: 8.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3179, allocations: 0 / 446 MB, free: 8.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.3179, allocations: 0 / 446 MB, free: 8.918 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.004288/0.3222, allocations: 1.402 MB / 447.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3222, allocations: 11.98 kB / 447.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.3247, allocations: 364.1 kB / 447.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.325, allocations: 206.3 kB / 447.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.3251, allocations: 70.31 kB / 448 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.3253, allocations: 80.31 kB / 448.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.327, allocations: 0.9012 MB / 449 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.3271, allocations: 3.953 kB / 449 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.3271, allocations: 36 kB / 449 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.3272, allocations: 20 kB / 449 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.329, allocations: 0.7808 MB / 449.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/0.3331, allocations: 2.305 MB / 452.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.3342, allocations: 0.505 MB / 452.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.3347, allocations: 218.2 kB / 452.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/0.3348, allocations: 28.41 kB / 452.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.3349, allocations: 39.06 kB / 452.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.705e-06/0.3349, allocations: 0 / 452.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007094/0.3419, allocations: 2.163 MB / 455.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.342, allocations: 81.61 kB / 455.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.3424, allocations: 311.9 kB / 455.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.3424, allocations: 37.7 kB / 455.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.3427, allocations: 371.9 kB / 455.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.3428, allocations: 222.1 kB / 456.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.3431, allocations: 146.6 kB / 456.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3432, allocations: 354.7 kB / 456.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007309/0.344, allocations: 265.8 kB / 456.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009609/0.3449, allocations: 0.5295 MB / 457.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.3467, allocations: 0.8126 MB / 458.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3467, allocations: 0 / 458.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002075/0.3488, allocations: 0.8931 MB / 459.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3488, allocations: 8 kB / 459.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3488, allocations: 8 kB / 459.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.349, allocations: 73.83 kB / 459.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008575/0.3499, allocations: 199.6 kB / 459.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.3522, allocations: 2.612 MB / 462 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.3528, allocations: 67.83 kB / 462 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.3529, allocations: 32 kB / 462.1 MB, free: 8.082 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.0003098/0.3532, allocations: 217.6 kB / 462.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3533, allocations: 43.77 kB / 462.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.3552, allocations: 0.7257 MB / 463 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3552, allocations: 8 kB / 463 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3552, allocations: 0 / 463 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.3552, allocations: 3.984 kB / 463 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.3578, allocations: 1.208 MB / 464.3 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3578, allocations: 3.938 kB / 464.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.3584, allocations: 127.8 kB / 464.4 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.3586, allocations: 61.61 kB / 464.4 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.3586, allocations: 23.86 kB / 464.5 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.3607, allocations: 2.588 MB / 467.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3607, allocations: 0 / 467.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.3633, allocations: 1.07 MB / 468.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.3635, allocations: 91.67 kB / 468.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.3635, allocations: 12.19 kB / 468.2 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.364, allocations: 40.02 kB / 468.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3641, allocations: 60.33 kB / 468.3 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.3642, allocations: 19.98 kB / 468.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.3644, allocations: 203 kB / 468.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3644, allocations: 0 / 468.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006989/0.3651, allocations: 175.9 kB / 468.7 MB, free: 1.125 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.0002955/0.3654, allocations: 178.3 kB / 468.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.3674, allocations: 0.869 MB / 469.8 MB, free: 52 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3674, allocations: 4 kB / 469.8 MB, free: 48 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.3684, allocations: 0.5156 MB / 470.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.3688, allocations: 49.03 kB / 470.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.3713, allocations: 1.232 MB / 471.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3716, allocations: 278.6 kB / 471.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.3718, allocations: 63.34 kB / 471.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3718, allocations: 0 / 471.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of Templates: time 0.01779/0.3896, allocations: 13.72 MB / 485.6 MB, free: 128 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.963063948787749]