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.001793/0.001793, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00206/0.00206, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.627/1.627, allocations: 230.2 MB / 257.9 MB, free: 8.262 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.001941/0.001941, allocations: 63.89 kB / 378.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2239, allocations: 53.36 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006876/0.2308, allocations: 5.121 MB / 437.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.2346, allocations: 2.187 MB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004154/0.235, allocations: 16 kB / 439.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003266/0.2383, allocations: 1.411 MB / 440.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.2394, allocations: 425.4 kB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.2418, allocations: 1.217 MB / 442.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008671/0.2427, allocations: 0.7317 MB / 443.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000853/0.2435, allocations: 0.5075 MB / 443.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004355/0.2439, allocations: 342.8 kB / 444.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.2444, allocations: 422.3 kB / 444.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.2445, allocations: 68 kB / 444.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007543/0.2453, allocations: 415.6 kB / 445 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.2454, allocations: 163.4 kB / 445.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.2458, allocations: 374.2 kB / 445.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.2472, allocations: 1.222 MB / 446.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2472, allocations: 0 / 446.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2472, allocations: 0 / 446.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.2472, allocations: 0 / 446.7 MB, free: 8.477 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.004494/0.2517, allocations: 1.406 MB / 448.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2518, allocations: 8.031 kB / 448.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.2544, allocations: 376.1 kB / 448.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.2546, allocations: 190.3 kB / 448.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.2547, allocations: 66.38 kB / 448.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.2549, allocations: 80.38 kB / 448.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.2566, allocations: 0.8761 MB / 449.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.2567, allocations: 7.953 kB / 449.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.2567, allocations: 28 kB / 449.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.2568, allocations: 24 kB / 449.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.2586, allocations: 0.7886 MB / 450.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/0.2632, allocations: 2.775 MB / 453.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.2644, allocations: 0.5089 MB / 453.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.2649, allocations: 222.2 kB / 454 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-05/0.265, allocations: 32.45 kB / 454.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.2651, allocations: 35.06 kB / 454.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.535e-06/0.2651, allocations: 4 kB / 454.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007807/0.2729, allocations: 2.167 MB / 456.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.2729, allocations: 89.59 kB / 456.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.2733, allocations: 304.4 kB / 456.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.2733, allocations: 41.7 kB / 456.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.2736, allocations: 371.9 kB / 457.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.2738, allocations: 222.1 kB / 457.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.274, allocations: 142.6 kB / 457.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2742, allocations: 350.8 kB / 457.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008005/0.275, allocations: 269.8 kB / 458 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009816/0.276, allocations: 0.5004 MB / 458.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.2778, allocations: 0.8087 MB / 459.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2778, allocations: 4 kB / 459.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002215/0.28, allocations: 0.9011 MB / 460.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.28, allocations: 8 kB / 460.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.28, allocations: 12 kB / 460.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/0.2803, allocations: 73.61 kB / 460.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008907/0.2812, allocations: 195.7 kB / 460.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.2834, allocations: 2.661 MB / 463.2 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.2841, allocations: 55.95 kB / 463.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.2841, allocations: 35.98 kB / 463.3 MB, free: 7.094 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.000308/0.2844, allocations: 217.6 kB / 463.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.2845, allocations: 43.72 kB / 463.5 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.2866, allocations: 0.7298 MB / 464.3 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.2866, allocations: 8 kB / 464.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.2866, allocations: 0 / 464.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2866, allocations: 7.984 kB / 464.3 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.2894, allocations: 1.38 MB / 465.7 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2894, allocations: 0 / 465.7 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/0.2901, allocations: 131.7 kB / 465.8 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.2902, allocations: 57.67 kB / 465.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.2903, allocations: 23.97 kB / 465.9 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.2924, allocations: 2.642 MB / 468.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2924, allocations: 0 / 468.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.2951, allocations: 1.082 MB / 469.6 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.2953, allocations: 87.61 kB / 469.7 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.2954, allocations: 12 kB / 469.7 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.2959, allocations: 48.02 kB / 469.7 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.296, allocations: 48.41 kB / 469.8 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.296, allocations: 19.98 kB / 469.8 MB, free: 248 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.2963, allocations: 203.1 kB / 470 MB, free: 44 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2963, allocations: 0 / 470 MB, free: 44 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007078/0.297, allocations: 184 kB / 470.2 MB, free: 15.86 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.0002711/0.2972, allocations: 162.9 kB / 470.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.2993, allocations: 0.8724 MB / 471.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2993, allocations: 4 kB / 471.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.3004, allocations: 0.524 MB / 471.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.3008, allocations: 55.27 kB / 471.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.3034, allocations: 1.2 MB / 473 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.3039, allocations: 0.881 MB / 473.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003673/0.3043, allocations: 88.5 kB / 474 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3045, allocations: 51.41 kB / 474 MB, free: 11.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3045, allocations: 4 kB / 474 MB, free: 11.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01394/0.3184, allocations: 6.946 MB / 481 MB, free: 5.008 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.888383470475674]