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.001877/0.001877, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00185/0.00185, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.478/1.478, allocations: 230.6 MB / 254.1 MB, free: 15.07 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 47.94 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.107, allocations: 53.34 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.006187/0.1132, allocations: 3.537 MB / 429.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1155, allocations: 0.9736 MB / 430.8 MB, free: 252 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.1159, allocations: 11.94 kB / 430.8 MB, free: 240 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.1162, allocations: 91.11 kB / 430.9 MB, free: 148 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2873/0.4035, allocations: 167.4 kB / 431.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.4042, allocations: 165.5 kB / 431.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008422/0.4051, allocations: 0.6357 MB / 431.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.4054, allocations: 141.1 kB / 432 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.4057, allocations: 246.2 kB / 432.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.4059, allocations: 280.5 kB / 432.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-05/0.406, allocations: 52.34 kB / 432.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.4061, allocations: 51.12 kB / 432.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.4062, allocations: 125.4 kB / 432.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.4064, allocations: 286.5 kB / 433 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005666/0.407, allocations: 0.6415 MB / 433.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.407, allocations: 1.562 kB / 433.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.407, allocations: 1.078 kB / 433.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.407, allocations: 0 / 433.7 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.001433/0.4084, allocations: 0.8708 MB / 434.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4085, allocations: 9.719 kB / 434.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.151e-05/0.4086, allocations: 90.3 kB / 434.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.655e-05/0.4087, allocations: 68.08 kB / 434.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.4091, allocations: 354.5 kB / 435.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.4091, allocations: 39.41 kB / 435.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/0.4092, allocations: 50.62 kB / 435.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008378/0.4101, allocations: 443 kB / 435.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4101, allocations: 1.859 kB / 435.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.4101, allocations: 23.8 kB / 435.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.4101, allocations: 11.41 kB / 435.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000869/0.411, allocations: 390.4 kB / 436 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.4136, allocations: 1.578 MB / 437.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.4143, allocations: 383.8 kB / 438 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/0.4147, allocations: 166.2 kB / 438.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.4148, allocations: 8.219 kB / 438.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.4148, allocations: 40.62 kB / 438.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.874e-06/0.4148, allocations: 1.25 kB / 438.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003535/0.4183, allocations: 1.183 MB / 439.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.4184, allocations: 61.59 kB / 439.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.4189, allocations: 413.7 kB / 439.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4189, allocations: 36.02 kB / 439.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.4191, allocations: 312.9 kB / 440.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.4192, allocations: 193.2 kB / 440.4 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.4194, allocations: 114.8 kB / 440.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4195, allocations: 357.3 kB / 440.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.42, allocations: 183.7 kB / 441 MB, free: 3.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.4204, allocations: 301.1 kB / 441.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009551/0.4214, allocations: 495.6 kB / 441.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4214, allocations: 1.062 kB / 441.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001516/0.4229, allocations: 0.7286 MB / 442.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.4229, allocations: 14.03 kB / 442.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.423, allocations: 10.09 kB / 442.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/0.4236, allocations: 184.3 kB / 442.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.424, allocations: 111.3 kB / 442.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.4281, allocations: 4.262 MB / 447.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.4285, allocations: 34.64 kB / 447.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.4286, allocations: 23.66 kB / 447.1 MB, free: 15.11 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.0002791/0.4289, allocations: 188 kB / 447.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/0.429, allocations: 59.73 kB / 447.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.4291, allocations: 61 kB / 447.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.016e-06/0.4291, allocations: 9.75 kB / 447.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-05/0.4291, allocations: 3.281 kB / 447.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4291, allocations: 4.281 kB / 447.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.4318, allocations: 1.294 MB / 448.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4318, allocations: 2.188 kB / 448.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.4322, allocations: 66.08 kB / 448.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/0.4326, allocations: 163.1 kB / 449 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.4327, allocations: 17 kB / 449 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.4372, allocations: 4.112 MB / 453.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4372, allocations: 1.188 kB / 453.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.4387, allocations: 0.694 MB / 453.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.4388, allocations: 129.1 kB / 453.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.4389, allocations: 12.95 kB / 453.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.4392, allocations: 24.27 kB / 454 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.4393, allocations: 43.03 kB / 454 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.4394, allocations: 15.75 kB / 454 MB, free: 9.891 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004019/0.4398, allocations: 286.3 kB / 454.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4398, allocations: 0 / 454.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008031/0.4406, allocations: 153.8 kB / 454.4 MB, free: 9.723 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.001782/0.4423, allocations: 1.244 MB / 455.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.4441, allocations: 0.7639 MB / 456.4 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4441, allocations: 0.8125 kB / 456.5 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000956/0.445, allocations: 0.5151 MB / 457 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.4455, allocations: 46.86 kB / 457 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008237/0.4537, allocations: 4.661 MB / 461.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000874/0.4546, allocations: 0.8597 MB / 462.5 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.4548, allocations: 47.45 kB / 462.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.4551, allocations: 176.7 kB / 462.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.064e-06/0.4551, allocations: 1.281 kB / 462.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/0.4982, allocations: 9.905 MB / 472.7 MB, free: 180 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.15, allocations: 5.438 kB / 472.7 MB, free: 176 kB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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.608350913971663]