Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002413/0.002413, allocations: 195 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 51.92 kB / 370.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2406, allocations: 52.18 MB / 423.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006778/0.2474, allocations: 4.553 MB / 427.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.2513, allocations: 1.95 MB / 429.6 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.2516, allocations: 16 kB / 429.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.255, allocations: 1.305 MB / 430.9 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.2566, allocations: 0.5577 MB / 431.5 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.2589, allocations: 0.9963 MB / 432.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.2599, allocations: 0.7394 MB / 433.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008973/0.2608, allocations: 0.5661 MB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004536/0.2613, allocations: 338.8 kB / 434.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.2618, allocations: 378.3 kB / 434.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.2619, allocations: 68 kB / 434.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008557/0.2628, allocations: 371.6 kB / 434.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.2629, allocations: 163.4 kB / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.2633, allocations: 302.6 kB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.2649, allocations: 1.21 MB / 436.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2649, allocations: 0 / 436.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2649, allocations: 0 / 436.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2649, allocations: 0 / 436.6 MB, free: 0.9141 MB / 334.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.004304/0.2692, allocations: 1.386 MB / 437.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2692, allocations: 12.03 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.2718, allocations: 384.1 kB / 438.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.2721, allocations: 203.4 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.2722, allocations: 66.38 kB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.2723, allocations: 80.38 kB / 438.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.2741, allocations: 0.9012 MB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.2741, allocations: 3.984 kB / 439.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.2742, allocations: 36 kB / 439.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.2742, allocations: 20 kB / 439.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.2761, allocations: 0.7964 MB / 440.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/0.2805, allocations: 2.282 MB / 442.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.2818, allocations: 0.5161 MB / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.2824, allocations: 222.2 kB / 443.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.543e-05/0.2825, allocations: 20.48 kB / 443.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.2825, allocations: 39.06 kB / 443.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.675e-06/0.2825, allocations: 0 / 443.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008541/0.2911, allocations: 2.191 MB / 445.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.2912, allocations: 85.61 kB / 445.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.2915, allocations: 308 kB / 446.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.2916, allocations: 37.7 kB / 446.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.2919, allocations: 375.8 kB / 446.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.2921, allocations: 222.1 kB / 446.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.2923, allocations: 142.6 kB / 446.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.2925, allocations: 346.8 kB / 447.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008761/0.2934, allocations: 277.8 kB / 447.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.2945, allocations: 0.5294 MB / 448 MB, free: 5.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.2964, allocations: 0.8088 MB / 448.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2964, allocations: 0 / 448.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002401/0.2988, allocations: 0.9127 MB / 449.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2989, allocations: 12 kB / 449.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.2989, allocations: 8 kB / 449.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.2991, allocations: 69.61 kB / 449.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/0.3001, allocations: 211.6 kB / 450 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.3025, allocations: 2.605 MB / 452.6 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.3032, allocations: 75.95 kB / 452.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.3033, allocations: 35.98 kB / 452.7 MB, free: 24 kB / 350.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.0003342/0.3036, allocations: 220.5 kB / 452.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.3037, allocations: 43.72 kB / 453 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.3058, allocations: 0.7412 MB / 453.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3058, allocations: 4 kB / 453.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.3058, allocations: 7.984 kB / 453.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3059, allocations: 3.984 kB / 453.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.3088, allocations: 1.209 MB / 454.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3088, allocations: 3.938 kB / 454.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.3095, allocations: 139.8 kB / 455.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.3097, allocations: 57.67 kB / 455.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.3097, allocations: 15.98 kB / 455.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.312, allocations: 2.596 MB / 457.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.312, allocations: 0 / 457.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.3149, allocations: 1.09 MB / 458.8 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.3151, allocations: 87.64 kB / 458.9 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.3152, allocations: 15.94 kB / 458.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.3157, allocations: 48.02 kB / 459 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3159, allocations: 52.39 kB / 459 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.3159, allocations: 23.98 kB / 459 MB, free: 9.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.3161, allocations: 203 kB / 459.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3161, allocations: 0 / 459.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006976/0.3168, allocations: 172 kB / 459.4 MB, free: 9.012 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.0002821/0.3171, allocations: 159 kB / 459.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002256/0.3194, allocations: 0.8886 MB / 460.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3194, allocations: 0 / 460.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.3205, allocations: 0.5312 MB / 461 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.321, allocations: 43.8 kB / 461 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.3238, allocations: 1.243 MB / 462.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.3241, allocations: 286.4 kB / 462.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004305/0.3245, allocations: 96.38 kB / 462.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.3247, allocations: 43.42 kB / 462.7 MB, free: 5.617 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3247, allocations: 3.938 kB / 462.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of Templates: time 0.01426/0.339, allocations: 6.974 MB / 469.7 MB, free: 14.75 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.727649537846446]