Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001653/0.001653, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002508/0.002508, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.547/1.547, allocations: 230.5 MB / 257.4 MB, free: 7.82 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.QuadraticCoreAirgap,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.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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 75.88 kB / 378.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2224, allocations: 53.4 MB / 431.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008647/0.2311, allocations: 5.943 MB / 437.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004817/0.2359, allocations: 2.32 MB / 439.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007332/0.2366, allocations: 20 kB / 439.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004508/0.2411, allocations: 1.745 MB / 441.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.2428, allocations: 0.5394 MB / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.2456, allocations: 1.26 MB / 443.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.2472, allocations: 1.113 MB / 444.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.2487, allocations: 0.8151 MB / 445.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.2494, allocations: 498.1 kB / 445.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008124/0.2502, allocations: 0.5483 MB / 446.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.2504, allocations: 103.9 kB / 446.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009173/0.2513, allocations: 423.7 kB / 447 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.2515, allocations: 251.1 kB / 447.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005416/0.2521, allocations: 461.8 kB / 447.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.2541, allocations: 1.685 MB / 449.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2541, allocations: 0 / 449.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2541, allocations: 0 / 449.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.297e-05/0.2542, allocations: 0 / 449.3 MB, free: 4.812 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.006527/0.2607, allocations: 1.98 MB / 451.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2607, allocations: 11.98 kB / 451.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.2643, allocations: 495.7 kB / 451.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.2646, allocations: 252.8 kB / 452.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.2647, allocations: 98.95 kB / 452.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.2649, allocations: 132.3 kB / 452.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.2676, allocations: 1.329 MB / 453.6 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/0.2677, allocations: 4 kB / 453.6 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.2678, allocations: 52 kB / 453.7 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.2678, allocations: 32 kB / 453.7 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/0.2706, allocations: 1.177 MB / 454.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006688/0.2772, allocations: 3.349 MB / 458.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.2795, allocations: 1.134 MB / 459.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009657/0.2804, allocations: 456 kB / 459.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.2806, allocations: 44.89 kB / 459.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2806, allocations: 47.56 kB / 459.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.785e-06/0.2806, allocations: 0 / 459.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.0107/0.2913, allocations: 3.54 MB / 463.4 MB, free: 6.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.2914, allocations: 90.11 kB / 463.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.2919, allocations: 393.3 kB / 463.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/0.2919, allocations: 45.7 kB / 464 MB, free: 5.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.2923, allocations: 472.5 kB / 464.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.2926, allocations: 436.2 kB / 464.8 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000364/0.293, allocations: 235.5 kB / 465.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.2932, allocations: 366.8 kB / 465.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.2943, allocations: 439.8 kB / 465.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.2957, allocations: 0.713 MB / 466.6 MB, free: 3.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.2983, allocations: 1.175 MB / 467.8 MB, free: 1.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.944e-06/0.2983, allocations: 7.938 kB / 467.8 MB, free: 1.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003323/0.3016, allocations: 1.455 MB / 469.2 MB, free: 424 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.3017, allocations: 18.73 kB / 469.2 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.3017, allocations: 8 kB / 469.2 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.3023, allocations: 193.6 kB / 469.4 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.3035, allocations: 287.6 kB / 469.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/0.3083, allocations: 4.072 MB / 473.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008963/0.3092, allocations: 79.88 kB / 473.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.3094, allocations: 60.05 kB / 473.9 MB, free: 11.51 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.0004774/0.3098, allocations: 265.5 kB / 474.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.31, allocations: 71.53 kB / 474.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/0.3132, allocations: 1.327 MB / 475.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.3132, allocations: 12 kB / 475.6 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.3132, allocations: 4 kB / 475.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.3133, allocations: 7.969 kB / 475.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.318, allocations: 2.182 MB / 477.8 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.318, allocations: 0 / 477.8 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.319, allocations: 215.7 kB / 478 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.3195, allocations: 165.7 kB / 478.2 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-05/0.3195, allocations: 27.98 kB / 478.2 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/0.3238, allocations: 3.905 MB / 482.1 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3238, allocations: 0 / 482.1 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004241/0.3281, allocations: 1.865 MB / 483.9 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.3285, allocations: 151.5 kB / 484.1 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3286, allocations: 23.98 kB / 484.1 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/0.3293, allocations: 60.02 kB / 484.2 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.3295, allocations: 108.7 kB / 484.3 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/0.3296, allocations: 35.98 kB / 484.3 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.3299, allocations: 255.2 kB / 484.6 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3299, allocations: 0 / 484.6 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001162/0.331, allocations: 303.9 kB / 484.9 MB, free: 248 kB / 382.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.0003337/0.3314, allocations: 175.1 kB / 485 MB, free: 60 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.3345, allocations: 1.395 MB / 486.4 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3345, allocations: 0 / 486.4 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.3361, allocations: 0.8118 MB / 487.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.3366, allocations: 73.42 kB / 487.3 MB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.3407, allocations: 1.877 MB / 489.2 MB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.3411, allocations: 420.2 kB / 489.6 MB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005966/0.3417, allocations: 142.6 kB / 489.7 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.342, allocations: 79.41 kB / 489.8 MB, free: 11.15 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.342, allocations: 4 kB / 489.8 MB, free: 11.14 MB / 398.1 MB Notification: Performance of Templates: time 0.02238/0.3644, allocations: 11.42 MB / 0.4895 GB, free: 15.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.00699065066874]