Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 107.1 kB / 20.44 MB, free: 1.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 212.7 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.809 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2674, allocations: 53.35 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006885/0.2742, allocations: 4.57 MB / 436.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004159/0.2784, allocations: 2.012 MB / 438.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004885/0.2789, allocations: 16 kB / 438.2 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003558/0.2824, allocations: 1.311 MB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.2836, allocations: 408.8 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.286, allocations: 1.129 MB / 441 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009308/0.2869, allocations: 0.7355 MB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009434/0.2879, allocations: 0.5739 MB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.2883, allocations: 342.8 kB / 442.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.2889, allocations: 426.3 kB / 443.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-05/0.289, allocations: 64 kB / 443.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000765/0.2897, allocations: 411.6 kB / 443.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.2899, allocations: 171.4 kB / 443.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.2902, allocations: 302.6 kB / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.2917, allocations: 1.214 MB / 445.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2917, allocations: 0 / 445.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2918, allocations: 0 / 445.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.2918, allocations: 0 / 445.2 MB, free: 9.062 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.00449/0.2963, allocations: 1.41 MB / 446.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2963, allocations: 8.031 kB / 446.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.299, allocations: 364.1 kB / 447 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.2993, allocations: 198.3 kB / 447.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.2993, allocations: 58.38 kB / 447.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.2995, allocations: 88.36 kB / 447.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.3014, allocations: 0.9011 MB / 448.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.3014, allocations: 11.95 kB / 448.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/0.3015, allocations: 32 kB / 448.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.3016, allocations: 24 kB / 448.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.3034, allocations: 0.7769 MB / 449.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004414/0.3078, allocations: 2.305 MB / 451.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.309, allocations: 0.5102 MB / 451.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/0.3095, allocations: 210.2 kB / 452.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.3096, allocations: 32.47 kB / 452.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3096, allocations: 39.06 kB / 452.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.395e-06/0.3096, allocations: 0 / 452.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007655/0.3173, allocations: 2.163 MB / 454.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3174, allocations: 85.61 kB / 454.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.3177, allocations: 311.9 kB / 454.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.3177, allocations: 33.7 kB / 454.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.318, allocations: 379.9 kB / 455.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.3182, allocations: 218.1 kB / 455.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.3184, allocations: 150.6 kB / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3186, allocations: 346.8 kB / 455.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007892/0.3194, allocations: 265.8 kB / 456.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.3204, allocations: 0.5255 MB / 456.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.3222, allocations: 0.8088 MB / 457.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.3222, allocations: 7.938 kB / 457.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002208/0.3244, allocations: 0.8894 MB / 458.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.3244, allocations: 11.98 kB / 458.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.3244, allocations: 16 kB / 458.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/0.3247, allocations: 61.62 kB / 458.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009268/0.3256, allocations: 203.7 kB / 458.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.3279, allocations: 2.615 MB / 461.2 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/0.3286, allocations: 75.95 kB / 461.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.3286, allocations: 32 kB / 461.3 MB, free: 8.215 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.0004024/0.329, allocations: 221.5 kB / 461.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3291, allocations: 35.77 kB / 461.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.3312, allocations: 0.7296 MB / 462.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3312, allocations: 4 kB / 462.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3312, allocations: 4 kB / 462.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.3312, allocations: 7.984 kB / 462.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.334, allocations: 1.204 MB / 463.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.334, allocations: 4 kB / 463.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.3347, allocations: 127.8 kB / 463.7 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.3349, allocations: 57.67 kB / 463.7 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.3349, allocations: 15.98 kB / 463.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002339/0.3373, allocations: 2.6 MB / 466.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3373, allocations: 0 / 466.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.34, allocations: 1.07 MB / 467.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.3402, allocations: 83.67 kB / 467.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.3403, allocations: 16.06 kB / 467.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.3408, allocations: 47.95 kB / 467.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3409, allocations: 44.41 kB / 467.6 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.341, allocations: 23.92 kB / 467.6 MB, free: 1.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.3412, allocations: 199.1 kB / 467.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3412, allocations: 0 / 467.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007294/0.3419, allocations: 175.9 kB / 468 MB, free: 1.27 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.000278/0.3422, allocations: 171 kB / 468.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002161/0.3443, allocations: 0.8686 MB / 469 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3444, allocations: 0 / 469 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.3454, allocations: 0.5279 MB / 469.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.3458, allocations: 48.95 kB / 469.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.3485, allocations: 1.192 MB / 470.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.3488, allocations: 286.5 kB / 471.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003668/0.3492, allocations: 92.36 kB / 471.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.3494, allocations: 47.42 kB / 471.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3494, allocations: 0 / 471.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of Templates: time 0.01477/0.3641, allocations: 7.337 MB / 478.5 MB, free: 6.703 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.724894525948912]