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.001242/0.001242, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001363/0.001363, allocations: 210.8 kB / 24.47 MB, free: 3.996 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.375/1.375, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001952/0.001952, allocations: 75.81 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.255, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004842/0.2598, allocations: 3.571 MB / 435.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2614, allocations: 0.962 MB / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.2616, allocations: 11.94 kB / 436.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.2619, allocations: 95.09 kB / 436.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.2622, allocations: 158.8 kB / 436.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.2626, allocations: 175.7 kB / 437 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006151/0.2632, allocations: 0.6309 MB / 437.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.2635, allocations: 151.5 kB / 437.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.2637, allocations: 235 kB / 438 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.264, allocations: 278.7 kB / 438.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.2641, allocations: 55.94 kB / 438.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.427e-05/0.2642, allocations: 52 kB / 438.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2643, allocations: 123.5 kB / 438.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.2646, allocations: 286.5 kB / 438.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006667/0.2652, allocations: 0.6379 MB / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2652, allocations: 0 / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2652, allocations: 0 / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.2652, allocations: 0 / 439.4 MB, free: 15.94 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.001511/0.2667, allocations: 0.8764 MB / 440.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2668, allocations: 12.03 kB / 440.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.2669, allocations: 68.52 kB / 440.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.2674, allocations: 347.9 kB / 440.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.2674, allocations: 37.69 kB / 440.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.987e-05/0.2675, allocations: 48.38 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.2683, allocations: 450.3 kB / 441.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2683, allocations: 0 / 441.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.2684, allocations: 24 kB / 441.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.2684, allocations: 12 kB / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008511/0.2692, allocations: 389 kB / 441.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.2716, allocations: 1.585 MB / 443.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.2724, allocations: 385.5 kB / 443.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.2728, allocations: 157.4 kB / 443.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.2728, allocations: 8.391 kB / 443.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.2728, allocations: 46.81 kB / 443.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.2728, allocations: 0 / 443.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003354/0.2762, allocations: 1.191 MB / 445 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.2762, allocations: 55.97 kB / 445.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.2767, allocations: 417.5 kB / 445.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.2767, allocations: 37.7 kB / 445.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.277, allocations: 312.6 kB / 445.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.2771, allocations: 198.3 kB / 446 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.2773, allocations: 110.3 kB / 446.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2774, allocations: 354.8 kB / 446.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.2779, allocations: 181.2 kB / 446.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/0.2784, allocations: 295 kB / 447 MB, free: 8.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009291/0.2793, allocations: 498.5 kB / 447.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2793, allocations: 0 / 447.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001465/0.2808, allocations: 0.7423 MB / 448.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2808, allocations: 4 kB / 448.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2808, allocations: 4 kB / 448.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.2813, allocations: 184.7 kB / 448.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.2818, allocations: 115.8 kB / 448.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004395/0.2862, allocations: 4.278 MB / 452.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.2866, allocations: 35.94 kB / 452.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.2867, allocations: 23.98 kB / 452.8 MB, free: 1.875 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.0002415/0.2869, allocations: 181.7 kB / 453 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.287, allocations: 51.67 kB / 453 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.2871, allocations: 65.08 kB / 453.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2871, allocations: 8 kB / 453.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.2872, allocations: 4 kB / 453.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2872, allocations: 7.922 kB / 453.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.2894, allocations: 1.296 MB / 454.4 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2895, allocations: 0 / 454.4 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.2897, allocations: 67.89 kB / 454.5 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/0.2902, allocations: 157.6 kB / 454.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.2902, allocations: 15.98 kB / 454.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/0.2941, allocations: 4.11 MB / 458.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2941, allocations: 4 kB / 458.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.2953, allocations: 0.6981 MB / 459.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.2955, allocations: 128.7 kB / 459.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.2955, allocations: 8 kB / 459.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.2958, allocations: 23.98 kB / 459.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.2959, allocations: 48.31 kB / 459.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.2959, allocations: 12 kB / 459.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003173/0.2962, allocations: 291.1 kB / 460 MB, free: 10.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2962, allocations: 4 kB / 460 MB, free: 10.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007005/0.2969, allocations: 148 kB / 460.1 MB, free: 10.16 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.0001621/0.2971, allocations: 115.2 kB / 460.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.2986, allocations: 0.7579 MB / 461 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2986, allocations: 0 / 461 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007961/0.2994, allocations: 0.5114 MB / 461.5 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.2998, allocations: 49.86 kB / 461.6 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.3016, allocations: 1.007 MB / 462.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.3021, allocations: 0.8631 MB / 463.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3022, allocations: 31.44 kB / 463.5 MB, free: 6.684 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3022, allocations: 0 / 463.5 MB, free: 6.684 MB / 366.1 MB Notification: Performance of Templates: time 0.01232/0.3145, allocations: 9.868 MB / 473.3 MB, free: 12.81 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_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.1693437159992754]