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.001357/0.001357, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001408/0.001408, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.541/1.541, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001843/0.001843, allocations: 56.14 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1045, allocations: 53.34 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005265/0.1098, allocations: 3.536 MB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1117, allocations: 0.9697 MB / 431.2 MB, free: 468 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.1119, allocations: 8 kB / 431.2 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.1122, allocations: 99.09 kB / 431.3 MB, free: 360 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.1126, allocations: 166.7 kB / 431.5 MB, free: 192 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.113, allocations: 171.8 kB / 431.6 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1989/0.3119, allocations: 0.6293 MB / 432.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.3121, allocations: 142.2 kB / 432.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.3124, allocations: 239.4 kB / 432.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.3127, allocations: 277.3 kB / 432.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/0.3127, allocations: 52.28 kB / 432.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.3128, allocations: 51.91 kB / 433 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.903e-05/0.3129, allocations: 125.4 kB / 433.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.3131, allocations: 290.3 kB / 433.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.3135, allocations: 0.636 MB / 434 MB, free: 7.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3135, allocations: 0 / 434 MB, free: 7.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3135, allocations: 0 / 434 MB, free: 7.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.3136, allocations: 2.062 kB / 434 MB, free: 7.32 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.001207/0.3148, allocations: 0.8687 MB / 434.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3148, allocations: 10.48 kB / 434.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.95e-05/0.3149, allocations: 93.89 kB / 435 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.315, allocations: 66.2 kB / 435.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.3153, allocations: 356.6 kB / 435.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.3154, allocations: 40.19 kB / 435.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.3154, allocations: 49.19 kB / 435.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.3162, allocations: 441.7 kB / 435.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3162, allocations: 7.078 kB / 435.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.3162, allocations: 17.5 kB / 436 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3162, allocations: 11.94 kB / 436 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007849/0.317, allocations: 392 kB / 436.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.3192, allocations: 1.579 MB / 437.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.3198, allocations: 383.8 kB / 438.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.3202, allocations: 164.6 kB / 438.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.3202, allocations: 9.031 kB / 438.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3202, allocations: 34.67 kB / 438.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.744e-06/0.3202, allocations: 3.938 kB / 438.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.002874/0.3231, allocations: 1.187 MB / 439.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.3231, allocations: 57.06 kB / 439.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.3236, allocations: 417.5 kB / 440.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3236, allocations: 36.05 kB / 440.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3237, allocations: 311.2 kB / 440.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.631e-05/0.3238, allocations: 194.2 kB / 440.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.324, allocations: 110.5 kB / 440.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.3241, allocations: 358.7 kB / 441.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.3245, allocations: 185.1 kB / 441.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.3249, allocations: 295.2 kB / 441.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.3258, allocations: 499.3 kB / 442.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3258, allocations: 7.969 kB / 442.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00136/0.3271, allocations: 0.7342 MB / 442.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3271, allocations: 9.469 kB / 442.9 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3272, allocations: 5.531 kB / 442.9 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.3277, allocations: 188.2 kB / 443.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.3281, allocations: 116.1 kB / 443.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.3315, allocations: 4.26 MB / 447.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.3319, allocations: 31.55 kB / 447.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.3319, allocations: 25.88 kB / 447.5 MB, free: 15.26 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.0002574/0.3322, allocations: 183.7 kB / 447.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.3323, allocations: 50.58 kB / 447.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.3324, allocations: 66.83 kB / 447.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3324, allocations: 9.812 kB / 447.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-05/0.3324, allocations: 9.453 kB / 447.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3324, allocations: 2.906 kB / 447.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.3349, allocations: 1.297 MB / 449.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.3349, allocations: 1.188 kB / 449.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.3352, allocations: 75.11 kB / 449.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004077/0.3356, allocations: 159.6 kB / 449.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.3356, allocations: 12.25 kB / 449.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/0.3398, allocations: 4.112 MB / 453.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3398, allocations: 1.438 kB / 453.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.3411, allocations: 0.6943 MB / 454.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.3413, allocations: 129 kB / 454.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.3414, allocations: 14.19 kB / 454.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.3417, allocations: 23.94 kB / 454.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3418, allocations: 40.17 kB / 454.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.3418, allocations: 21.97 kB / 454.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003897/0.3422, allocations: 284.7 kB / 454.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3422, allocations: 0 / 454.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008211/0.343, allocations: 154.3 kB / 454.8 MB, free: 9.914 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.001662/0.3447, allocations: 1.246 MB / 456 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.3464, allocations: 0.7564 MB / 456.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3464, allocations: 0 / 456.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000914/0.3473, allocations: 0.5163 MB / 457.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.3477, allocations: 48.78 kB / 457.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007802/0.3555, allocations: 4.658 MB / 462 MB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/0.3561, allocations: 0.8618 MB / 462.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.3564, allocations: 46.09 kB / 462.9 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.3566, allocations: 177.6 kB / 463.1 MB, free: 4.551 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3566, allocations: 0 / 463.1 MB, free: 4.551 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04295/0.3996, allocations: 9.903 MB / 473 MB, free: 468 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.18, allocations: 9.391 kB / 473 MB, free: 460 kB / 366.1 MB " [Timeout remaining time 649] (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_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_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: 13.78812471171841]