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.QuadraticCoreAirgap.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.001552/0.001552, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001633/0.001633, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.44/1.44, allocations: 230.4 MB / 258.1 MB, free: 8.168 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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") [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.001917/0.001917, allocations: 71.88 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2384, allocations: 53.31 MB / 432.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008403/0.2468, allocations: 6.776 MB / 438.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.2511, allocations: 2.483 MB / 441.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.2515, allocations: 24 kB / 441.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004132/0.2557, allocations: 1.892 MB / 443.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.2572, allocations: 0.5511 MB / 443.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.2598, allocations: 1.326 MB / 445.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.2613, allocations: 1.113 MB / 446.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.2624, allocations: 0.7257 MB / 446.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005785/0.263, allocations: 482.1 kB / 447.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000736/0.2637, allocations: 0.6186 MB / 448 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.2639, allocations: 100 kB / 448.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008649/0.2647, allocations: 443.7 kB / 448.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.2649, allocations: 255 kB / 448.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.2654, allocations: 0.5558 MB / 449.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.2674, allocations: 1.677 MB / 451.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2674, allocations: 4 kB / 451.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2674, allocations: 3.938 kB / 451.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.2674, allocations: 0 / 451.1 MB, free: 4.328 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006431/0.2738, allocations: 2.047 MB / 453.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2739, allocations: 12.03 kB / 453.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/0.2773, allocations: 499.7 kB / 453.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.2777, allocations: 306.7 kB / 453.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.2778, allocations: 98.95 kB / 454 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.2781, allocations: 128.3 kB / 454.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.2805, allocations: 1.307 MB / 455.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/0.2805, allocations: 8 kB / 455.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.2806, allocations: 48 kB / 455.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.2806, allocations: 36 kB / 455.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.2831, allocations: 1.185 MB / 456.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006772/0.2899, allocations: 4.297 MB / 461 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.2926, allocations: 2.346 MB / 463.4 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009344/0.2935, allocations: 467.7 kB / 463.8 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.2937, allocations: 195.2 kB / 464 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.2938, allocations: 47.56 kB / 464 MB, free: 6.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.865e-06/0.2938, allocations: 0 / 464 MB, free: 6.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01031/0.3041, allocations: 3.775 MB / 467.8 MB, free: 2.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.3042, allocations: 90.11 kB / 467.9 MB, free: 2.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.3046, allocations: 393.5 kB / 468.3 MB, free: 2.289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/0.3047, allocations: 45.7 kB / 468.3 MB, free: 2.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.305, allocations: 468.6 kB / 468.8 MB, free: 1.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.3054, allocations: 444.1 kB / 469.2 MB, free: 1.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.3057, allocations: 231.5 kB / 469.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3059, allocations: 378.8 kB / 469.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.3069, allocations: 431.8 kB / 470.2 MB, free: 308 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.3082, allocations: 0.6879 MB / 470.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.3104, allocations: 1.179 MB / 472.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3105, allocations: 4 kB / 472.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003055/0.3135, allocations: 1.459 MB / 473.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3135, allocations: 11.98 kB / 473.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3135, allocations: 8 kB / 473.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.3141, allocations: 197.6 kB / 473.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.3153, allocations: 291.5 kB / 474.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/0.3198, allocations: 4.381 MB / 478.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008996/0.3207, allocations: 71.91 kB / 478.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/0.3208, allocations: 59.97 kB / 478.6 MB, free: 7.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004187/0.3213, allocations: 265.6 kB / 478.8 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3214, allocations: 67.58 kB / 478.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.3244, allocations: 1.335 MB / 480.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3244, allocations: 12 kB / 480.3 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.3244, allocations: 7.938 kB / 480.3 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3244, allocations: 3.984 kB / 480.3 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004582/0.329, allocations: 2.602 MB / 482.9 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.329, allocations: 3.938 kB / 482.9 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009419/0.3299, allocations: 211.9 kB / 483.1 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.3304, allocations: 165.5 kB / 483.2 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.3304, allocations: 27.98 kB / 483.3 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004099/0.3345, allocations: 4.193 MB / 487.5 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3345, allocations: 0 / 487.5 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.3384, allocations: 1.865 MB / 489.3 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.3388, allocations: 232.5 kB / 489.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3389, allocations: 23.94 kB / 489.6 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.3395, allocations: 59.89 kB / 489.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.3397, allocations: 96.92 kB / 489.7 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.3397, allocations: 35.98 kB / 489.8 MB, free: 11.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003023/0.34, allocations: 267.2 kB / 490 MB, free: 11.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.34, allocations: 0 / 490 MB, free: 11.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00106/0.3411, allocations: 304 kB / 490.3 MB, free: 11.28 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003022/0.3414, allocations: 182.9 kB / 490.5 MB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002869/0.3443, allocations: 1.387 MB / 491.9 MB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3443, allocations: 0 / 491.9 MB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.3457, allocations: 0.8235 MB / 492.7 MB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.3463, allocations: 65.5 kB / 492.8 MB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.3502, allocations: 1.943 MB / 494.7 MB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.3508, allocations: 1.005 MB / 495.7 MB, free: 5.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.3511, allocations: 99.39 kB / 495.8 MB, free: 5.645 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3511, allocations: 0 / 495.8 MB, free: 5.645 MB / 398.1 MB Notification: Performance of Templates: time 0.02515/0.3763, allocations: 20.2 MB / 0.5039 GB, free: 1.434 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.792128560133278]