Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001461/0.001461, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.00158/0.00158, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.4/1.4, allocations: 230.4 MB / 255.4 MB, free: 15 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001913/0.001913, allocations: 63.89 kB / 374.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1067, allocations: 53.31 MB / 428.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00503/0.1118, allocations: 3.538 MB / 431.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2075/0.3192, allocations: 0.9629 MB / 432.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.3196, allocations: 7.688 kB / 432.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.32, allocations: 98.05 kB / 432.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.3204, allocations: 169.4 kB / 432.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.3208, allocations: 174.2 kB / 433 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006025/0.3214, allocations: 0.6291 MB / 433.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.3216, allocations: 143 kB / 433.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.3218, allocations: 243.4 kB / 434 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.3221, allocations: 274.3 kB / 434.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.433e-05/0.3222, allocations: 53.34 kB / 434.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-05/0.3223, allocations: 52.06 kB / 434.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.3223, allocations: 125.2 kB / 434.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.3225, allocations: 290 kB / 434.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.323, allocations: 0.6342 MB / 435.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.323, allocations: 0 / 435.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.323, allocations: 1 kB / 435.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.3231, allocations: 0.5625 kB / 435.4 MB, free: 7.738 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001337/0.3244, allocations: 0.8757 MB / 436.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3244, allocations: 9.219 kB / 436.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.705e-05/0.3245, allocations: 66.5 kB / 436.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.325, allocations: 357 kB / 436.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.325, allocations: 38.5 kB / 436.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-05/0.3251, allocations: 53.16 kB / 436.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/0.3259, allocations: 442.8 kB / 437.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3259, allocations: 0 / 437.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.3259, allocations: 22.72 kB / 437.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3259, allocations: 12 kB / 437.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008509/0.3268, allocations: 390.7 kB / 437.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.3291, allocations: 1.581 MB / 439.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.3298, allocations: 386.9 kB / 439.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/0.3302, allocations: 165 kB / 439.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.3302, allocations: 9.375 kB / 439.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3302, allocations: 36.98 kB / 439.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.3302, allocations: 4 kB / 439.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003232/0.3335, allocations: 1.185 MB / 441 MB, free: 5.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3335, allocations: 57.44 kB / 441.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.3339, allocations: 420.5 kB / 441.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.334, allocations: 32.64 kB / 441.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3341, allocations: 311.6 kB / 441.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.3342, allocations: 193 kB / 442 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.3344, allocations: 111.2 kB / 442.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.3344, allocations: 360.3 kB / 442.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.3349, allocations: 178.5 kB / 442.6 MB, free: 3.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.3353, allocations: 298.9 kB / 442.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/0.3362, allocations: 0.4884 MB / 443.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3362, allocations: 1.188 kB / 443.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001398/0.3376, allocations: 0.7371 MB / 444.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3377, allocations: 9.406 kB / 444.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3377, allocations: 6.172 kB / 444.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/0.3382, allocations: 180.3 kB / 444.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.3387, allocations: 116.8 kB / 444.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/0.3422, allocations: 4.271 MB / 448.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.3427, allocations: 35.2 kB / 448.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.3427, allocations: 22.31 kB / 448.8 MB, free: 15.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002765/0.343, allocations: 187.3 kB / 449 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.592e-05/0.3431, allocations: 51.45 kB / 449 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.3432, allocations: 61.17 kB / 449.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.3432, allocations: 9.406 kB / 449.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/0.3433, allocations: 3.969 kB / 449.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3433, allocations: 3.562 kB / 449.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.3457, allocations: 1.297 MB / 450.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3457, allocations: 4.406 kB / 450.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.346, allocations: 68.78 kB / 450.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.3464, allocations: 160.7 kB / 450.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.3465, allocations: 16.91 kB / 450.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/0.3504, allocations: 4.097 MB / 454.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3504, allocations: 1.172 kB / 454.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3518, allocations: 0.7026 MB / 455.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.3519, allocations: 127.2 kB / 455.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.352, allocations: 14.72 kB / 455.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.3523, allocations: 23.56 kB / 455.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.3525, allocations: 48.22 kB / 455.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.3525, allocations: 10.69 kB / 455.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000489/0.353, allocations: 287.7 kB / 455.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.353, allocations: 0 / 455.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009043/0.3539, allocations: 153.8 kB / 456.1 MB, free: 9.902 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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.0002086/0.3541, allocations: 115.6 kB / 456.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.356, allocations: 0.753 MB / 457 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.356, allocations: 5.438 kB / 457 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008935/0.3569, allocations: 0.5105 MB / 457.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.3574, allocations: 46.27 kB / 457.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.3593, allocations: 0.9958 MB / 458.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.3598, allocations: 0.8607 MB / 459.4 MB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.36, allocations: 37.98 kB / 459.4 MB, free: 7.695 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.36, allocations: 1.406 kB / 459.4 MB, free: 7.695 MB / 366.1 MB Notification: Performance of Templates: time 0.01382/0.3738, allocations: 9.883 MB / 469.3 MB, free: 3.293 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.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.2675535548478365]