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.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.ToroidalCoreAirgap,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.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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001721/0.001721, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.659/1.659, allocations: 230.4 MB / 251.1 MB, free: 8.5 MB / 206.1 MB 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.001989/0.001989, allocations: 71.84 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2372, allocations: 53.31 MB / 422.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006863/0.2441, allocations: 5.078 MB / 427.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.2482, allocations: 2.176 MB / 429.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.2485, allocations: 16 kB / 429.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003269/0.2518, allocations: 1.41 MB / 431 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.253, allocations: 429.3 kB / 431.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.2554, allocations: 1.207 MB / 432.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009377/0.2564, allocations: 0.7394 MB / 433.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008272/0.2572, allocations: 0.4934 MB / 433.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.2576, allocations: 334.8 kB / 434.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.2582, allocations: 434.3 kB / 434.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.106e-05/0.2583, allocations: 68 kB / 434.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008397/0.2591, allocations: 411.6 kB / 435 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.2592, allocations: 167.4 kB / 435.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.2596, allocations: 378.1 kB / 435.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.261, allocations: 1.202 MB / 436.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2611, allocations: 4 kB / 436.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2611, allocations: 7.875 kB / 436.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2611, allocations: 0 / 436.8 MB, free: 9.289 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.004362/0.2654, allocations: 1.477 MB / 438.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2655, allocations: 12.03 kB / 438.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.2681, allocations: 364.1 kB / 438.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.2684, allocations: 260.1 kB / 438.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-05/0.2685, allocations: 70.38 kB / 439 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.2686, allocations: 76.38 kB / 439 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.2703, allocations: 0.8761 MB / 439.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.2704, allocations: 7.938 kB / 439.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/0.2705, allocations: 36 kB / 439.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.2705, allocations: 20 kB / 440 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.2723, allocations: 0.7886 MB / 440.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/0.277, allocations: 3.022 MB / 443.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.2783, allocations: 0.9573 MB / 444.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.2788, allocations: 214.4 kB / 444.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.279, allocations: 190.7 kB / 445.1 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.279, allocations: 43.12 kB / 445.2 MB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.974e-06/0.279, allocations: 0 / 445.2 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007356/0.2864, allocations: 2.397 MB / 447.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.2864, allocations: 81.67 kB / 447.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.2868, allocations: 307.1 kB / 447.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.2869, allocations: 37.7 kB / 448 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.2871, allocations: 371.9 kB / 448.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.2873, allocations: 214.2 kB / 448.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.2875, allocations: 150.5 kB / 448.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2877, allocations: 350.8 kB / 449 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.2884, allocations: 261.8 kB / 449.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009307/0.2894, allocations: 0.5003 MB / 449.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.2911, allocations: 0.8114 MB / 450.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2911, allocations: 4 kB / 450.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002192/0.2933, allocations: 0.8944 MB / 451.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.2933, allocations: 8 kB / 451.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.2933, allocations: 8.531 kB / 451.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.2935, allocations: 73.61 kB / 451.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/0.2944, allocations: 199.7 kB / 451.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.2968, allocations: 2.861 MB / 454.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.2975, allocations: 60.02 kB / 454.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.2975, allocations: 35.98 kB / 454.8 MB, free: 6.188 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.0003474/0.2979, allocations: 217.5 kB / 455 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.298, allocations: 47.66 kB / 455 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.2999, allocations: 0.739 MB / 455.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2999, allocations: 7.938 kB / 455.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2999, allocations: 0 / 455.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2999, allocations: 3.984 kB / 455.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.3027, allocations: 1.409 MB / 457.2 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3027, allocations: 4 kB / 457.2 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.3034, allocations: 131.8 kB / 457.3 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.3036, allocations: 57.67 kB / 457.4 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.3036, allocations: 15.98 kB / 457.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.3058, allocations: 2.849 MB / 460.2 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3058, allocations: 4.031 kB / 460.2 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.3083, allocations: 1.079 MB / 461.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.3086, allocations: 164.7 kB / 461.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.3087, allocations: 12 kB / 461.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.3091, allocations: 43.95 kB / 461.5 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.3093, allocations: 48.48 kB / 461.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.3093, allocations: 24.05 kB / 461.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.3096, allocations: 203.1 kB / 461.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3096, allocations: 0 / 461.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007118/0.3103, allocations: 179.9 kB / 462 MB, free: 14.56 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.0002762/0.3106, allocations: 171.1 kB / 462.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.3125, allocations: 0.8772 MB / 463 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3125, allocations: 0 / 463 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009972/0.3135, allocations: 0.5199 MB / 463.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3139, allocations: 48.64 kB / 463.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.3166, allocations: 1.203 MB / 464.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.3173, allocations: 0.881 MB / 465.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000416/0.3177, allocations: 92.5 kB / 465.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3179, allocations: 47.42 kB / 465.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3179, allocations: 3.938 kB / 465.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Templates: time 0.0138/0.3317, allocations: 6.644 MB / 472.4 MB, free: 4.016 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches