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.005258/0.005258, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001433/0.001433, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.451/1.451, allocations: 230.6 MB / 259 MB, free: 8.031 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.002033/0.002033, allocations: 63.89 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2641, allocations: 53.36 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005126/0.2692, allocations: 3.561 MB / 436.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2712, allocations: 0.9697 MB / 437.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.2714, allocations: 8 kB / 437.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.2717, allocations: 99.08 kB / 437.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.2721, allocations: 162.7 kB / 438 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.2725, allocations: 187.6 kB / 438.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.2731, allocations: 0.6375 MB / 438.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.2734, allocations: 142 kB / 438.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.2737, allocations: 243.1 kB / 439.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.274, allocations: 274.7 kB / 439.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/0.2741, allocations: 52 kB / 439.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.2742, allocations: 52 kB / 439.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.2743, allocations: 119.5 kB / 439.7 MB, free: 480 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.2745, allocations: 294.4 kB / 439.9 MB, free: 184 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006896/0.2752, allocations: 0.6352 MB / 440.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2752, allocations: 4 kB / 440.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2752, allocations: 0 / 440.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.2752, allocations: 4 kB / 440.6 MB, free: 15.54 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.001491/0.2767, allocations: 0.7972 MB / 441.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2768, allocations: 8.031 kB / 441.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.2769, allocations: 64.52 kB / 441.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.2774, allocations: 298.1 kB / 441.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.2775, allocations: 37.69 kB / 441.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.958e-05/0.2775, allocations: 52.38 kB / 441.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.2784, allocations: 442.4 kB / 442.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.2784, allocations: 0 / 442.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.2784, allocations: 20 kB / 442.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.2785, allocations: 12 kB / 442.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008712/0.2793, allocations: 393 kB / 442.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.2819, allocations: 1.505 MB / 444.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.2826, allocations: 309.3 kB / 444.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/0.283, allocations: 157.4 kB / 444.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.283, allocations: 8.422 kB / 444.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2831, allocations: 42.83 kB / 444.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.2831, allocations: 0 / 444.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003238/0.2863, allocations: 1.199 MB / 445.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.2864, allocations: 59.91 kB / 445.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.2868, allocations: 413.5 kB / 446.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.2869, allocations: 37.7 kB / 446.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.2871, allocations: 300.7 kB / 446.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.2873, allocations: 202.3 kB / 446.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.2874, allocations: 110.3 kB / 447 MB, free: 8.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.2876, allocations: 362.7 kB / 447.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.288, allocations: 185.1 kB / 447.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.2886, allocations: 295.1 kB / 447.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009598/0.2895, allocations: 496 kB / 448.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2895, allocations: 4 kB / 448.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001521/0.291, allocations: 0.7445 MB / 449 MB, free: 6.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2911, allocations: 8 kB / 449.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2911, allocations: 0 / 449.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.2917, allocations: 181.6 kB / 449.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.2921, allocations: 111.8 kB / 449.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004558/0.2967, allocations: 4.073 MB / 453.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.2972, allocations: 35.94 kB / 453.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.2972, allocations: 23.98 kB / 453.5 MB, free: 2.082 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.0002674/0.2975, allocations: 177.8 kB / 453.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.2976, allocations: 47.72 kB / 453.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.2977, allocations: 68.95 kB / 453.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2977, allocations: 4 kB / 453.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.2977, allocations: 4.188 kB / 453.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2977, allocations: 3.984 kB / 453.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.3002, allocations: 1.275 MB / 455 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3002, allocations: 0 / 455 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.3005, allocations: 67.89 kB / 455.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.3009, allocations: 161.6 kB / 455.3 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.301, allocations: 12 kB / 455.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/0.3049, allocations: 3.895 MB / 459.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.3049, allocations: 3.938 kB / 459.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.3062, allocations: 0.6963 MB / 459.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3063, allocations: 59.58 kB / 459.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.3064, allocations: 8 kB / 459.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.3067, allocations: 23.98 kB / 460 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3068, allocations: 48.34 kB / 460 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.3068, allocations: 12 kB / 460 MB, free: 11.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003398/0.3071, allocations: 287.1 kB / 460.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3071, allocations: 0 / 460.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007098/0.3078, allocations: 156 kB / 460.5 MB, free: 10.76 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.0001362/0.308, allocations: 114.1 kB / 460.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3096, allocations: 0.7651 MB / 461.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3096, allocations: 0 / 461.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008212/0.3104, allocations: 0.5085 MB / 461.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.3108, allocations: 47.27 kB / 461.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.3127, allocations: 0.9961 MB / 462.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.3132, allocations: 0.8631 MB / 463.7 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3133, allocations: 35.62 kB / 463.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3133, allocations: 7.938 kB / 463.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of Templates: time 0.01326/0.3266, allocations: 9.873 MB / 473.7 MB, free: 13.4 MB / 382.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.49910966004245]