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.00134/0.00134, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001571/0.001571, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.488/1.488, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001959/0.001959, allocations: 63.84 kB / 374.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1076, allocations: 53.32 MB / 427.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004072/0.1116, allocations: 2.83 MB / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1129, allocations: 0.7866 MB / 431 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.113, allocations: 4 kB / 431 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.1132, allocations: 75.36 kB / 431.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1135, allocations: 99.23 kB / 431.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1137, allocations: 107.8 kB / 431.3 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.1141, allocations: 386.6 kB / 431.7 MB, free: 40 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1834/0.2975, allocations: 98.53 kB / 431.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.2979, allocations: 156.6 kB / 431.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.2981, allocations: 174.7 kB / 432.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.2982, allocations: 32.25 kB / 432.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.2983, allocations: 32.75 kB / 432.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.2983, allocations: 73.28 kB / 432.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.2985, allocations: 176.1 kB / 432.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.2989, allocations: 403.7 kB / 432.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2989, allocations: 2.188 kB / 432.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2989, allocations: 0 / 432.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.954e-06/0.2989, allocations: 0 / 432.8 MB, free: 8.043 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001005/0.2999, allocations: 0.6484 MB / 433.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2999, allocations: 9.344 kB / 433.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.3, allocations: 42.25 kB / 433.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.3003, allocations: 266.2 kB / 433.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.3004, allocations: 28.06 kB / 433.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.3004, allocations: 33.41 kB / 433.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.301, allocations: 286.5 kB / 434.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.301, allocations: 5.672 kB / 434.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.301, allocations: 13.25 kB / 434.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.301, allocations: 7.656 kB / 434.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/0.3015, allocations: 252.8 kB / 434.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.303, allocations: 1.115 MB / 435.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.3034, allocations: 149.1 kB / 435.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.3036, allocations: 64.2 kB / 435.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.3036, allocations: 5.281 kB / 435.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.3036, allocations: 35.8 kB / 435.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/0.3036, allocations: 0.6094 kB / 435.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002205/0.3059, allocations: 0.5914 MB / 436.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.3059, allocations: 56.17 kB / 436.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.3062, allocations: 268.8 kB / 436.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3062, allocations: 30.14 kB / 436.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.3064, allocations: 237.1 kB / 436.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.3064, allocations: 80.14 kB / 437 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3065, allocations: 67.97 kB / 437 MB, free: 6.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.3066, allocations: 338.5 kB / 437.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.307, allocations: 94.2 kB / 437.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.3074, allocations: 198.6 kB / 437.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.308, allocations: 297 kB / 437.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.308, allocations: 1.312 kB / 437.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009976/0.309, allocations: 392.8 kB / 438.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.3091, allocations: 8.5 kB / 438.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.3091, allocations: 5.5 kB / 438.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003022/0.3094, allocations: 59.23 kB / 438.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.3097, allocations: 79.84 kB / 438.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.3112, allocations: 2.831 MB / 441.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.3115, allocations: 28.8 kB / 441.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.3115, allocations: 15.94 kB / 441.3 MB, free: 2.676 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.0001528/0.3117, allocations: 149.3 kB / 441.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.3117, allocations: 27.98 kB / 441.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.949e-05/0.3118, allocations: 30.88 kB / 441.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3118, allocations: 2.156 kB / 441.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3118, allocations: 5.719 kB / 441.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3118, allocations: 2.469 kB / 441.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.3122, allocations: 329.1 kB / 441.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3122, allocations: 3.938 kB / 441.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.3124, allocations: 37.77 kB / 441.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.3126, allocations: 61.73 kB / 442 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3126, allocations: 2.375 kB / 442 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.3143, allocations: 2.834 MB / 444.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3143, allocations: 2.156 kB / 444.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.3151, allocations: 375.8 kB / 445.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.3152, allocations: 105.1 kB / 445.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.3152, allocations: 5.984 kB / 445.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.3154, allocations: 19.48 kB / 445.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.3155, allocations: 15.75 kB / 445.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3155, allocations: 8.203 kB / 445.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.3158, allocations: 188.4 kB / 445.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3158, allocations: 0 / 445.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004608/0.3162, allocations: 70.78 kB / 445.6 MB, free: 14.91 MB / 366.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.0001349/0.3163, allocations: 109.6 kB / 445.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.3174, allocations: 475.2 kB / 446.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3174, allocations: 1.156 kB / 446.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.3179, allocations: 340.8 kB / 446.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3183, allocations: 32.86 kB / 446.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.3195, allocations: 0.5479 MB / 447.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.3199, allocations: 0.7707 MB / 447.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.3201, allocations: 30.31 kB / 447.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.3201, allocations: 24.81 kB / 447.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3201, allocations: 0 / 447.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Templates: time 0.00741/0.3275, allocations: 2.806 MB / 450.7 MB, free: 13.02 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/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: 4.620967637747526]