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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001557, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.383/1.383, allocations: 227.7 MB / 247.2 MB, free: 10.19 MB / 206.1 MB 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.001864/0.001864, allocations: 63.89 kB / 359 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2414, allocations: 50.55 MB / 409.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008245/0.2497, allocations: 6.708 MB / 416.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004383/0.2541, allocations: 2.456 MB / 418.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.2545, allocations: 20 kB / 418.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003985/0.2585, allocations: 1.889 MB / 420.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.2599, allocations: 0.5434 MB / 421.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.2624, allocations: 1.314 MB / 422.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.2638, allocations: 1.121 MB / 423.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.2651, allocations: 0.9349 MB / 424.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.2657, allocations: 486.1 kB / 425 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.2664, allocations: 0.6108 MB / 425.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.2666, allocations: 100 kB / 425.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009593/0.2676, allocations: 451.6 kB / 426.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.2679, allocations: 251 kB / 426.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007527/0.2686, allocations: 0.5598 MB / 427 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.271, allocations: 1.677 MB / 428.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.271, allocations: 0 / 428.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2711, allocations: 0 / 428.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.2711, allocations: 0 / 428.7 MB, free: 14.26 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.006382/0.2775, allocations: 2.055 MB / 430.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2775, allocations: 8.031 kB / 430.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.2812, allocations: 499.7 kB / 431.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.2815, allocations: 310.7 kB / 431.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-05/0.2817, allocations: 94.95 kB / 431.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.2818, allocations: 132.3 kB / 431.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.2844, allocations: 1.3 MB / 433 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.2844, allocations: 4 kB / 433.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.2845, allocations: 51.94 kB / 433.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.2846, allocations: 32 kB / 433.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002682/0.2873, allocations: 1.193 MB / 434.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006467/0.2937, allocations: 4.29 MB / 438.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.2967, allocations: 2.448 MB / 441.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009754/0.2977, allocations: 0.5047 MB / 441.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.2979, allocations: 199.2 kB / 441.8 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.312e-05/0.298, allocations: 55.48 kB / 441.8 MB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.986e-06/0.298, allocations: 0 / 441.8 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01098/0.309, allocations: 3.778 MB / 445.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.3091, allocations: 94.11 kB / 445.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/0.3097, allocations: 389.5 kB / 446.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.3098, allocations: 45.7 kB / 446.1 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.3102, allocations: 468.6 kB / 446.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.3106, allocations: 448.1 kB / 447 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.311, allocations: 235.5 kB / 447.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.3112, allocations: 370.8 kB / 447.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.3123, allocations: 427.8 kB / 448 MB, free: 10.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.3137, allocations: 0.6996 MB / 448.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.3162, allocations: 1.183 MB / 449.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3163, allocations: 0 / 449.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003401/0.3197, allocations: 1.474 MB / 451.4 MB, free: 6.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3197, allocations: 8 kB / 451.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3197, allocations: 8.031 kB / 451.4 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/0.3203, allocations: 193.6 kB / 451.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.3215, allocations: 283.6 kB / 451.9 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/0.3263, allocations: 4.386 MB / 456.2 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008382/0.3271, allocations: 75.89 kB / 456.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.3273, allocations: 64.05 kB / 456.4 MB, free: 1.219 MB / 366.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.0004366/0.3277, allocations: 265.5 kB / 456.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.3278, allocations: 67.58 kB / 456.7 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/0.3311, allocations: 1.339 MB / 458 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3312, allocations: 12 kB / 458.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3312, allocations: 7.938 kB / 458.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.3312, allocations: 7.969 kB / 458.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/0.3363, allocations: 2.602 MB / 460.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.3363, allocations: 4.062 kB / 460.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.3374, allocations: 215.7 kB / 460.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.3378, allocations: 169.5 kB / 461.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/0.3379, allocations: 31.97 kB / 461.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004607/0.3425, allocations: 4.182 MB / 465.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3426, allocations: 7.922 kB / 465.3 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.3466, allocations: 1.869 MB / 467.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.347, allocations: 232.6 kB / 467.4 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3471, allocations: 28 kB / 467.4 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.3478, allocations: 59.94 kB / 467.5 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.348, allocations: 92.88 kB / 467.5 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.641e-05/0.3481, allocations: 35.98 kB / 467.6 MB, free: 5.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.3484, allocations: 271.2 kB / 467.8 MB, free: 5.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3484, allocations: 0 / 467.8 MB, free: 5.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001141/0.3495, allocations: 300 kB / 468.1 MB, free: 5 MB / 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.0003003/0.3498, allocations: 175 kB / 468.3 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003055/0.3529, allocations: 1.461 MB / 469.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3529, allocations: 0 / 469.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.3545, allocations: 0.8669 MB / 470.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.355, allocations: 73.52 kB / 470.7 MB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.3589, allocations: 1.899 MB / 472.6 MB, free: 448 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.3596, allocations: 1.005 MB / 473.6 MB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005452/0.3601, allocations: 142.6 kB / 473.8 MB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.3604, allocations: 83.39 kB / 473.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3604, allocations: 3.938 kB / 473.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of Templates: time 0.01895/0.3793, allocations: 10.1 MB / 483.9 MB, free: 5.113 MB / 398.1 MB 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/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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches