Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 215.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.98 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 47.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2724, allocations: 53.38 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005745/0.2782, allocations: 3.573 MB / 435.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.2804, allocations: 0.9659 MB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.2807, allocations: 4 kB / 436.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.2811, allocations: 99.08 kB / 436.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.2817, allocations: 170.7 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.2822, allocations: 167.7 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009652/0.2832, allocations: 0.6387 MB / 437.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.2835, allocations: 142 kB / 437.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.284, allocations: 243 kB / 437.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.2845, allocations: 270.7 kB / 437.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.2847, allocations: 52 kB / 437.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.2848, allocations: 52 kB / 438 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.2849, allocations: 127.5 kB / 438.1 MB, free: 400 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.2853, allocations: 290.4 kB / 438.4 MB, free: 108 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007799/0.2861, allocations: 0.6391 MB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2861, allocations: 4 kB / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2861, allocations: 0 / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.2861, allocations: 0 / 439 MB, free: 15.46 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.001602/0.2877, allocations: 0.7972 MB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2877, allocations: 8.031 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.2878, allocations: 72.45 kB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.2884, allocations: 294.1 kB / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.2884, allocations: 41.69 kB / 440.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.2885, allocations: 52.38 kB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008324/0.2893, allocations: 438.4 kB / 440.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2894, allocations: 7.922 kB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.2894, allocations: 20 kB / 440.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.2894, allocations: 16 kB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008706/0.2903, allocations: 385 kB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.2929, allocations: 1.505 MB / 442.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.2936, allocations: 297.4 kB / 442.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.2941, allocations: 169.4 kB / 443.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/0.2941, allocations: 12.33 kB / 443.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.2941, allocations: 30.89 kB / 443.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 3.837e-06/0.2941, allocations: 3.984 kB / 443.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003295/0.2974, allocations: 1.207 MB / 444.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.2975, allocations: 55.91 kB / 444.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.298, allocations: 417.5 kB / 444.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.298, allocations: 37.64 kB / 444.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.2983, allocations: 308.7 kB / 445.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.2985, allocations: 190.3 kB / 445.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.2986, allocations: 118.2 kB / 445.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.2988, allocations: 358.8 kB / 445.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.2993, allocations: 181.2 kB / 446 MB, free: 8.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.2998, allocations: 299.1 kB / 446.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009869/0.3008, allocations: 492 kB / 446.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3008, allocations: 0 / 446.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001509/0.3023, allocations: 0.7484 MB / 447.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3023, allocations: 8 kB / 447.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3023, allocations: 4 kB / 447.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.3029, allocations: 181.6 kB / 447.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.3034, allocations: 107.8 kB / 447.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/0.3078, allocations: 4.075 MB / 451.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.3083, allocations: 31.92 kB / 451.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.3083, allocations: 28 kB / 451.9 MB, free: 1.984 MB / 350.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.0002543/0.3086, allocations: 178.4 kB / 452.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.3086, allocations: 55.67 kB / 452.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.3088, allocations: 61 kB / 452.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3088, allocations: 8 kB / 452.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.3088, allocations: 4 kB / 452.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3088, allocations: 3.984 kB / 452.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.3111, allocations: 1.264 MB / 453.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3111, allocations: 4 kB / 453.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.3115, allocations: 67.89 kB / 453.6 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004326/0.3119, allocations: 169.6 kB / 453.7 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.3119, allocations: 12 kB / 453.7 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.3159, allocations: 3.884 MB / 457.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3159, allocations: 4.141 kB / 457.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.3172, allocations: 0.7001 MB / 458.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.3172, allocations: 51.59 kB / 458.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.3173, allocations: 11.98 kB / 458.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.3176, allocations: 20.27 kB / 458.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3177, allocations: 52.34 kB / 458.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.3177, allocations: 16 kB / 458.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003298/0.3181, allocations: 287.1 kB / 458.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3181, allocations: 0 / 458.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007032/0.3188, allocations: 148 kB / 458.9 MB, free: 10.68 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.0001397/0.3189, allocations: 115.2 kB / 459 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.3204, allocations: 0.7729 MB / 459.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3204, allocations: 0 / 459.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008109/0.3212, allocations: 0.5006 MB / 460.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.3217, allocations: 49.59 kB / 460.3 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.3235, allocations: 0.9776 MB / 461.3 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.324, allocations: 0.8592 MB / 462.2 MB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.3242, allocations: 48.36 kB / 462.2 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3243, allocations: 27.44 kB / 462.2 MB, free: 7.188 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3243, allocations: 0 / 462.2 MB, free: 7.188 MB / 366.1 MB Notification: Performance of Templates: time 0.01223/0.3366, allocations: 5.576 MB / 467.8 MB, free: 1.613 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.727896369993687]