Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.001841/0.001841, allocations: 116.9 kB / 19.17 MB, free: 3.863 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.002132/0.002132, allocations: 214.5 kB / 22.13 MB, free: 0.9102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.2 MB / 255.1 MB, free: 15.28 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 67.88 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09426, allocations: 53.33 MB / 427.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.201/0.2953, allocations: 5.072 MB / 432.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.2986, allocations: 2.176 MB / 435.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.2989, allocations: 15.56 kB / 435.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.3016, allocations: 1.404 MB / 436.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.3027, allocations: 430.6 kB / 436.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.3048, allocations: 1.207 MB / 438.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009497/0.3058, allocations: 0.7408 MB / 438.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007837/0.3065, allocations: 0.5079 MB / 439.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004271/0.307, allocations: 327.5 kB / 439.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004768/0.3074, allocations: 430 kB / 440.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.3075, allocations: 71.03 kB / 440.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009565/0.3085, allocations: 416.2 kB / 440.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.3086, allocations: 161 kB / 440.8 MB, free: 6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.3089, allocations: 385 kB / 441.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.3104, allocations: 1.2 MB / 442.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3104, allocations: 0 / 442.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3104, allocations: 0 / 442.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3104, allocations: 0 / 442.3 MB, free: 5.25 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.004271/0.3147, allocations: 1.489 MB / 443.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3147, allocations: 8.969 kB / 443.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/0.3175, allocations: 366.2 kB / 444.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3178, allocations: 258.6 kB / 444.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.746e-05/0.3178, allocations: 64.52 kB / 444.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.318, allocations: 87.25 kB / 444.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.3197, allocations: 0.8678 MB / 445.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.3198, allocations: 5.594 kB / 445.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/0.3199, allocations: 35.7 kB / 445.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.3199, allocations: 21.97 kB / 445.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.3217, allocations: 0.7915 MB / 446.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.3259, allocations: 3.016 MB / 449.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.3271, allocations: 0.959 MB / 450.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/0.3276, allocations: 212.8 kB / 450.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.3277, allocations: 191.1 kB / 450.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.3277, allocations: 42.27 kB / 450.7 MB, free: 204 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.815e-06/0.3277, allocations: 0 / 450.7 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008038/0.3358, allocations: 2.399 MB / 453.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.3359, allocations: 83.48 kB / 453.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.3363, allocations: 305.7 kB / 453.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.3363, allocations: 36.08 kB / 453.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.3366, allocations: 372.4 kB / 453.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.3368, allocations: 213.5 kB / 454.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.3371, allocations: 150 kB / 454.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3373, allocations: 351.5 kB / 454.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007807/0.338, allocations: 265.3 kB / 454.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009535/0.339, allocations: 0.5037 MB / 455.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.3407, allocations: 0.8081 MB / 456.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.3407, allocations: 6.5 kB / 456.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002164/0.3429, allocations: 0.8957 MB / 457.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3429, allocations: 7 kB / 457.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3429, allocations: 8.281 kB / 457.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.3432, allocations: 73.34 kB / 457.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008466/0.344, allocations: 200.6 kB / 457.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.3465, allocations: 2.87 MB / 460.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.3472, allocations: 60.27 kB / 460.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.3473, allocations: 40.8 kB / 460.3 MB, free: 9.617 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.000362/0.3477, allocations: 217 kB / 460.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3478, allocations: 43 kB / 460.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.3499, allocations: 0.7364 MB / 461.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3499, allocations: 6.219 kB / 461.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3499, allocations: 1.312 kB / 461.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3499, allocations: 5.391 kB / 461.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.3528, allocations: 1.404 MB / 462.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3528, allocations: 0 / 462.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.3535, allocations: 138 kB / 462.9 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.3537, allocations: 55.11 kB / 462.9 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.3537, allocations: 17.84 kB / 462.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.3561, allocations: 2.843 MB / 465.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3561, allocations: 5.156 kB / 465.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.3588, allocations: 1.08 MB / 466.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.3591, allocations: 167.2 kB / 467 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.3591, allocations: 13.22 kB / 467.1 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/0.3596, allocations: 46.94 kB / 467.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3598, allocations: 44.91 kB / 467.1 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.3598, allocations: 20.08 kB / 467.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.3601, allocations: 208.9 kB / 467.4 MB, free: 4.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3601, allocations: 0 / 467.4 MB, free: 4.117 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008631/0.3609, allocations: 184.1 kB / 467.5 MB, free: 4.082 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.0003234/0.3613, allocations: 154.7 kB / 467.7 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.3634, allocations: 0.879 MB / 468.6 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3634, allocations: 4.125 kB / 468.6 MB, free: 3.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.3645, allocations: 0.5186 MB / 469.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.365, allocations: 51.95 kB / 469.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.368, allocations: 1.231 MB / 470.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.3686, allocations: 0.8834 MB / 471.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.3689, allocations: 58.78 kB / 471.3 MB, free: 1.461 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3689, allocations: 0 / 471.3 MB, free: 1.461 MB / 366.1 MB Notification: Performance of Templates: time 0.01916/0.3881, allocations: 13.49 MB / 484.8 MB, free: 6.559 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.10742503288202]