Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006756/0.006756, allocations: 106.8 kB / 21.98 MB, free: 5.223 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.001726/0.001726, allocations: 212.6 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.447/1.447, allocations: 230.6 MB / 259 MB, free: 8.281 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.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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.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.001979/0.001979, allocations: 68.77 kB / 379.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2762, allocations: 53.38 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007312/0.2835, allocations: 5.099 MB / 438.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00425/0.2878, allocations: 2.191 MB / 440.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.2883, allocations: 16 kB / 440.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.2919, allocations: 1.411 MB / 441.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.2934, allocations: 429.4 kB / 442.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.2959, allocations: 1.209 MB / 443.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.2971, allocations: 0.7395 MB / 444.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009886/0.2981, allocations: 0.5729 MB / 444.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.2986, allocations: 342.8 kB / 445.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005634/0.2992, allocations: 430.3 kB / 445.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.2993, allocations: 68 kB / 445.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009624/0.3003, allocations: 415.6 kB / 446.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.3004, allocations: 163.4 kB / 446.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.3008, allocations: 374.1 kB / 446.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.3025, allocations: 1.214 MB / 447.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.3026, allocations: 4 kB / 447.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3026, allocations: 0 / 447.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.3026, allocations: 0 / 447.8 MB, free: 8.309 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.004371/0.3069, allocations: 1.402 MB / 449.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.307, allocations: 12.03 kB / 449.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/0.3096, allocations: 364.1 kB / 449.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3099, allocations: 203.2 kB / 449.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.31, allocations: 62.38 kB / 449.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.3101, allocations: 80.38 kB / 449.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.3119, allocations: 0.876 MB / 450.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.3119, allocations: 3.953 kB / 450.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.312, allocations: 36 kB / 450.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.312, allocations: 27.94 kB / 450.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.3139, allocations: 0.7847 MB / 451.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004671/0.3185, allocations: 2.775 MB / 454.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.3197, allocations: 0.5098 MB / 454.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.3202, allocations: 222.2 kB / 455.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.684e-05/0.3203, allocations: 24.47 kB / 455.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.3203, allocations: 43.05 kB / 455.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.3203, allocations: 0 / 455.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007211/0.3275, allocations: 2.163 MB / 457.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.3277, allocations: 85.61 kB / 457.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.3281, allocations: 308.3 kB / 457.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.3281, allocations: 33.7 kB / 457.8 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.3284, allocations: 375.9 kB / 458.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.3286, allocations: 218.1 kB / 458.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.3289, allocations: 154.5 kB / 458.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.329, allocations: 350.8 kB / 458.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007301/0.3298, allocations: 261.8 kB / 459.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.3308, allocations: 0.5121 MB / 459.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.3326, allocations: 0.8087 MB / 460.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3326, allocations: 0 / 460.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002092/0.3347, allocations: 0.8965 MB / 461.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3347, allocations: 8.625 kB / 461.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3348, allocations: 12.05 kB / 461.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/0.335, allocations: 69.59 kB / 461.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000856/0.3359, allocations: 207.7 kB / 461.6 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.3384, allocations: 2.657 MB / 464.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.3391, allocations: 60.08 kB / 464.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.3391, allocations: 39.98 kB / 464.4 MB, free: 6.922 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.0003349/0.3395, allocations: 210.2 kB / 464.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3396, allocations: 43.72 kB / 464.6 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.3417, allocations: 0.7336 MB / 465.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3417, allocations: 4 kB / 465.4 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3417, allocations: 4 kB / 465.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3417, allocations: 7.984 kB / 465.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.3446, allocations: 1.383 MB / 466.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3446, allocations: 0 / 466.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/0.3452, allocations: 127.8 kB / 466.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.3454, allocations: 61.67 kB / 467 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.3455, allocations: 15.98 kB / 467 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.3482, allocations: 2.642 MB / 469.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3482, allocations: 0 / 469.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.3508, allocations: 1.074 MB / 470.7 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.351, allocations: 91.62 kB / 470.8 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.3511, allocations: 15.98 kB / 470.8 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.3516, allocations: 43.95 kB / 470.8 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3517, allocations: 48.47 kB / 470.9 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.3517, allocations: 19.98 kB / 470.9 MB, free: 84 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.352, allocations: 211.1 kB / 471.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.352, allocations: 0 / 471.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007955/0.3528, allocations: 172 kB / 471.3 MB, free: 15.7 MB / 382.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.0003144/0.3531, allocations: 179.1 kB / 471.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.3551, allocations: 0.8691 MB / 472.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3551, allocations: 0 / 472.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.3563, allocations: 0.5312 MB / 472.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.3568, allocations: 52.5 kB / 472.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.3596, allocations: 1.229 MB / 474.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.3601, allocations: 0.881 MB / 475 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.3603, allocations: 63.41 kB / 475.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3603, allocations: 0 / 475.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of Templates: time 0.01869/0.379, allocations: 13.49 MB / 488.6 MB, free: 14.32 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.895310409832746]