Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001295/0.001295, allocations: 114 kB / 20.43 MB, free: 1.457 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.001604/0.001604, allocations: 214.4 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 63.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2843, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005108/0.2894, allocations: 3.566 MB / 434.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.2913, allocations: 0.9658 MB / 435.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.2915, allocations: 8 kB / 435.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.2918, allocations: 99.08 kB / 435.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.2922, allocations: 166.7 kB / 436 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.2926, allocations: 171.7 kB / 436.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006559/0.2933, allocations: 0.6386 MB / 436.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.2935, allocations: 141.9 kB / 436.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.2938, allocations: 247.1 kB / 437.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.2942, allocations: 274.7 kB / 437.4 MB, free: 384 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.594e-05/0.2943, allocations: 52 kB / 437.5 MB, free: 332 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.2943, allocations: 52 kB / 437.6 MB, free: 280 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.2945, allocations: 127.5 kB / 437.7 MB, free: 152 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.2947, allocations: 282.5 kB / 438 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.2954, allocations: 0.6421 MB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2954, allocations: 7.938 kB / 438.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2954, allocations: 0 / 438.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2954, allocations: 0 / 438.6 MB, free: 15.22 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.001514/0.2969, allocations: 0.7933 MB / 439.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.297, allocations: 8.031 kB / 439.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.2971, allocations: 90.7 kB / 439.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.2972, allocations: 72.52 kB / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.2977, allocations: 294.1 kB / 439.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.2977, allocations: 37.69 kB / 439.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.2978, allocations: 60.12 kB / 439.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008121/0.2986, allocations: 434.5 kB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.2987, allocations: 0 / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.2987, allocations: 20 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.2987, allocations: 12 kB / 440.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.2996, allocations: 397 kB / 440.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.3021, allocations: 1.501 MB / 442.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.3028, allocations: 308.3 kB / 442.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.3032, allocations: 165.4 kB / 442.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.3032, allocations: 8.312 kB / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3033, allocations: 34.89 kB / 442.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.3033, allocations: 0 / 442.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.00322/0.3065, allocations: 1.203 MB / 444 MB, free: 9.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3065, allocations: 55.91 kB / 444.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.307, allocations: 409.5 kB / 444.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.307, allocations: 41.64 kB / 444.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.3072, allocations: 308.7 kB / 444.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.3074, allocations: 194.3 kB / 445 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3076, allocations: 110.3 kB / 445.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3077, allocations: 362.8 kB / 445.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.3082, allocations: 181.2 kB / 445.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.3087, allocations: 303.2 kB / 445.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009424/0.3096, allocations: 500 kB / 446.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3096, allocations: 3.938 kB / 446.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001468/0.3111, allocations: 0.7366 MB / 447.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3111, allocations: 8 kB / 447.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.3111, allocations: 4 kB / 447.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005472/0.3117, allocations: 177.6 kB / 447.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.3122, allocations: 112 kB / 447.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004382/0.3165, allocations: 4.071 MB / 451.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.317, allocations: 35.92 kB / 451.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.317, allocations: 24 kB / 451.6 MB, free: 1.668 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.0002486/0.3172, allocations: 177.8 kB / 451.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.932e-05/0.3173, allocations: 47.72 kB / 451.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3175, allocations: 61.02 kB / 451.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3175, allocations: 11.98 kB / 451.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/0.3175, allocations: 4 kB / 451.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3175, allocations: 0 / 451.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.3199, allocations: 1.279 MB / 453.1 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.3199, allocations: 4 kB / 453.1 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.3203, allocations: 63.89 kB / 453.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/0.3207, allocations: 169.5 kB / 453.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.3207, allocations: 16 kB / 453.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.3247, allocations: 3.884 MB / 457.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3247, allocations: 4.031 kB / 457.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.3259, allocations: 0.7001 MB / 458 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-05/0.326, allocations: 51.59 kB / 458 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.3261, allocations: 12 kB / 458 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.3264, allocations: 23.97 kB / 458.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3265, allocations: 48.34 kB / 458.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.3265, allocations: 16 kB / 458.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003283/0.3268, allocations: 283.2 kB / 458.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3268, allocations: 0 / 458.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000703/0.3275, allocations: 152 kB / 458.6 MB, free: 10.35 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.001597/0.3291, allocations: 1.244 MB / 459.8 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.3307, allocations: 0.7655 MB / 460.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3307, allocations: 0 / 460.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008246/0.3315, allocations: 0.508 MB / 461.1 MB, free: 7.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.332, allocations: 63.03 kB / 461.1 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/0.3395, allocations: 4.666 MB / 465.8 MB, free: 2.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006333/0.3401, allocations: 0.8553 MB / 466.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.3403, allocations: 44.36 kB / 466.7 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.3406, allocations: 187.4 kB / 466.9 MB, free: 1.699 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3406, allocations: 0 / 466.9 MB, free: 1.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07997/0.4205, allocations: 10.36 MB / 477.2 MB, free: 7.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.58, allocations: 7.75 kB / 477.2 MB, free: 7.457 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 14.946425673086196]