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.001796/0.001796, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002254/0.002254, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.002061/0.002061, allocations: 71.83 kB / 378.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2306, allocations: 53.4 MB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006792/0.2373, allocations: 4.57 MB / 436.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00385/0.2412, allocations: 2.008 MB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.2416, allocations: 16 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003366/0.245, allocations: 1.302 MB / 439.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.2462, allocations: 417.3 kB / 440 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.2486, allocations: 1.131 MB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009839/0.2496, allocations: 0.7316 MB / 441.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009384/0.2505, allocations: 0.5661 MB / 442.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.251, allocations: 338.8 kB / 442.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005297/0.2516, allocations: 374.3 kB / 443.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.2517, allocations: 68 kB / 443.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007756/0.2525, allocations: 391.6 kB / 443.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.2526, allocations: 163.4 kB / 443.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.2529, allocations: 310.5 kB / 444 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.2545, allocations: 1.218 MB / 445.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2545, allocations: 0 / 445.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2545, allocations: 0 / 445.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.2545, allocations: 0 / 445.2 MB, free: 8.906 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.004565/0.2591, allocations: 1.402 MB / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2591, allocations: 11.98 kB / 446.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/0.2618, allocations: 372.1 kB / 447 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.262, allocations: 194.3 kB / 447.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.2621, allocations: 70.36 kB / 447.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.2622, allocations: 80.38 kB / 447.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.2641, allocations: 0.9012 MB / 448.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.2641, allocations: 11.89 kB / 448.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.2642, allocations: 32 kB / 448.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.2642, allocations: 20 kB / 448.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.2661, allocations: 0.7808 MB / 449.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004473/0.2706, allocations: 2.305 MB / 451.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2717, allocations: 0.5049 MB / 451.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.2723, allocations: 218.2 kB / 452.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-05/0.2724, allocations: 24.48 kB / 452.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.2724, allocations: 43.06 kB / 452.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.084e-06/0.2724, allocations: 0 / 452.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007506/0.2799, allocations: 2.163 MB / 454.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.28, allocations: 81.61 kB / 454.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.2803, allocations: 315.8 kB / 454.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.2804, allocations: 37.7 kB / 454.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.2806, allocations: 371.9 kB / 455.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.2808, allocations: 222.1 kB / 455.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.2811, allocations: 142.6 kB / 455.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2812, allocations: 346.8 kB / 455.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007921/0.282, allocations: 273.8 kB / 456.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.283, allocations: 0.5294 MB / 456.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.2848, allocations: 0.8088 MB / 457.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2849, allocations: 0 / 457.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002204/0.2871, allocations: 0.8932 MB / 458.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2871, allocations: 12 kB / 458.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.2871, allocations: 11.94 kB / 458.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.2873, allocations: 69.67 kB / 458.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/0.2882, allocations: 199.6 kB / 458.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.2906, allocations: 2.611 MB / 461.2 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006663/0.2913, allocations: 67.97 kB / 461.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.2913, allocations: 39.98 kB / 461.3 MB, free: 8.062 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.000324/0.2917, allocations: 213.6 kB / 461.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.2918, allocations: 39.77 kB / 461.6 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.2938, allocations: 0.7218 MB / 462.3 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.2938, allocations: 8 kB / 462.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2938, allocations: 0 / 462.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.2938, allocations: 7.984 kB / 462.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.2967, allocations: 1.209 MB / 463.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.2967, allocations: 3.938 kB / 463.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.2974, allocations: 131.8 kB / 463.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.2975, allocations: 57.69 kB / 463.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.2976, allocations: 15.98 kB / 463.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.2999, allocations: 2.6 MB / 466.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2999, allocations: 0 / 466.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/0.3027, allocations: 1.066 MB / 467.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.3029, allocations: 91.73 kB / 467.5 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.303, allocations: 12 kB / 467.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.3035, allocations: 39.95 kB / 467.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3036, allocations: 52.41 kB / 467.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.3037, allocations: 19.98 kB / 467.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.3039, allocations: 203 kB / 467.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3039, allocations: 0 / 467.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007262/0.3046, allocations: 179.9 kB / 468 MB, free: 1.117 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.0002811/0.3049, allocations: 163 kB / 468.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.307, allocations: 0.8762 MB / 469 MB, free: 48 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.307, allocations: 0 / 469 MB, free: 48 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3081, allocations: 0.524 MB / 469.5 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.0004408/0.3085, allocations: 55.64 kB / 469.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.3111, allocations: 1.196 MB / 470.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3114, allocations: 282.6 kB / 471 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003749/0.3118, allocations: 88.36 kB / 471.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.312, allocations: 47.42 kB / 471.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.312, allocations: 0 / 471.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of Templates: time 0.01411/0.3261, allocations: 7.106 MB / 478.3 MB, free: 6.777 MB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/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: 4.693270076066256]