Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.00544/0.00544, allocations: 108.7 kB / 21.97 MB, free: 5.184 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.001465/0.001465, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 259 MB, free: 8.039 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-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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "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.001955/0.001955, allocations: 71.89 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.295, allocations: 53.36 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004452/0.2995, allocations: 2.861 MB / 436 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.301, allocations: 0.7944 MB / 436.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.3012, allocations: 4 kB / 436.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.3014, allocations: 75.36 kB / 436.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.3016, allocations: 95.23 kB / 437 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.3019, allocations: 103.8 kB / 437.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.3023, allocations: 406.3 kB / 437.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.3026, allocations: 95.34 kB / 437.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.3029, allocations: 163.4 kB / 437.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.3031, allocations: 171.2 kB / 437.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/0.3032, allocations: 32 kB / 437.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.544e-05/0.3032, allocations: 36 kB / 438 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.3033, allocations: 71.75 kB / 438 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.3035, allocations: 179.1 kB / 438.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.3039, allocations: 399.5 kB / 438.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3039, allocations: 0 / 438.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.304, allocations: 0 / 438.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.304, allocations: 4 kB / 438.6 MB, free: 1.52 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0012/0.3052, allocations: 0.5714 MB / 439.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3052, allocations: 8.031 kB / 439.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.173e-05/0.3053, allocations: 44.7 kB / 439.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.3057, allocations: 218.8 kB / 439.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.3057, allocations: 25.03 kB / 439.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.3058, allocations: 32.38 kB / 439.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.3064, allocations: 290.3 kB / 439.8 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3064, allocations: 0 / 439.8 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.3064, allocations: 16 kB / 439.8 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3065, allocations: 11.94 kB / 439.8 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.3071, allocations: 250.5 kB / 440.1 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3089, allocations: 1.041 MB / 441.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.3093, allocations: 153.4 kB / 441.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.3095, allocations: 64.81 kB / 441.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.3095, allocations: 7.984 kB / 441.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3095, allocations: 34.56 kB / 441.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.3095, allocations: 0 / 441.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002085/0.3116, allocations: 0.584 MB / 441.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3117, allocations: 55.41 kB / 442 MB, free: 13.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.312, allocations: 273.7 kB / 442.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.312, allocations: 33.7 kB / 442.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.3122, allocations: 228.1 kB / 442.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.3123, allocations: 79.36 kB / 442.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3124, allocations: 69.44 kB / 442.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3125, allocations: 334.8 kB / 443 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.3128, allocations: 99.88 kB / 443.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.3132, allocations: 192.2 kB / 443.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.3138, allocations: 302.1 kB / 443.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3138, allocations: 0 / 443.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008879/0.3147, allocations: 397 kB / 444 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.3148, allocations: 8 kB / 444 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3148, allocations: 0 / 444 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.315, allocations: 62.03 kB / 444 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.3154, allocations: 75.89 kB / 444.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.3177, allocations: 2.634 MB / 446.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.318, allocations: 27.94 kB / 446.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.318, allocations: 8 kB / 446.8 MB, free: 8.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001834/0.3182, allocations: 163.6 kB / 446.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.3182, allocations: 27.8 kB / 447 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.88e-05/0.3183, allocations: 30.27 kB / 447 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3183, allocations: 0 / 447 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3183, allocations: 4 kB / 447 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3183, allocations: 3.984 kB / 447 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.3187, allocations: 308.5 kB / 447.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3187, allocations: 0 / 447.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.3189, allocations: 43.91 kB / 447.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001551/0.3191, allocations: 53.67 kB / 447.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3191, allocations: 4 kB / 447.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.3214, allocations: 2.63 MB / 450 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3214, allocations: 0 / 450 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007681/0.3221, allocations: 376.8 kB / 450.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.3222, allocations: 27.8 kB / 450.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.3222, allocations: 0 / 450.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.3224, allocations: 19.97 kB / 450.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.3225, allocations: 23.97 kB / 450.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3225, allocations: 4 kB / 450.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.3227, allocations: 189.2 kB / 450.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3227, allocations: 0 / 450.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.3231, allocations: 72 kB / 450.7 MB, free: 4.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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.0001296/0.3232, allocations: 95.25 kB / 450.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009837/0.3242, allocations: 488.9 kB / 451.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3242, allocations: 192 / 451.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.3248, allocations: 341.2 kB / 451.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.3251, allocations: 27.61 kB / 451.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.3262, allocations: 0.5777 MB / 452.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.3266, allocations: 0.7752 MB / 453 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.3267, allocations: 23.44 kB / 453 MB, free: 2.113 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3267, allocations: 0 / 453 MB, free: 2.113 MB / 350.1 MB Notification: Performance of Templates: time 0.009003/0.3357, allocations: 5.999 MB / 459 MB, free: 12.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.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.628809855086729]