Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 115.9 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 189.3 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.92 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09368, allocations: 49.44 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005752/0.09947, allocations: 3.485 MB / 411.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1015, allocations: 0.9231 MB / 412.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004274/0.102, allocations: 11.94 kB / 412.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.1024, allocations: 87.17 kB / 412.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006257/0.1031, allocations: 158.7 kB / 412.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.1036, allocations: 175.7 kB / 412.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000919/0.1045, allocations: 0.6309 MB / 413.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.1049, allocations: 197.4 kB / 413.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.1054, allocations: 235.1 kB / 414 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.1059, allocations: 274.7 kB / 414.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.106, allocations: 52 kB / 414.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.1062, allocations: 55.94 kB / 414.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1063, allocations: 119.6 kB / 414.5 MB, free: 468 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.1067, allocations: 290.5 kB / 414.8 MB, free: 176 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000813/0.1075, allocations: 0.6223 MB / 415.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1075, allocations: 0 / 415.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1075, allocations: 0 / 415.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.1075, allocations: 4 kB / 415.4 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.001637/0.1092, allocations: 0.8687 MB / 416.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1092, allocations: 11.89 kB / 416.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1093, allocations: 64.56 kB / 416.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.1099, allocations: 351.3 kB / 416.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.1099, allocations: 37.69 kB / 416.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.727e-05/0.11, allocations: 48.38 kB / 416.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009665/0.111, allocations: 446.3 kB / 417.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.111, allocations: 0 / 417.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.1111, allocations: 20 kB / 417.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.1111, allocations: 12 kB / 417.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.112, allocations: 393 kB / 417.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.1147, allocations: 1.582 MB / 419.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.1155, allocations: 397.5 kB / 419.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.1159, allocations: 181.4 kB / 419.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.116, allocations: 12.42 kB / 419.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.116, allocations: 38.77 kB / 419.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.116, allocations: 0 / 419.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003561/0.1196, allocations: 1.208 MB / 421 MB, free: 9.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1197, allocations: 55.97 kB / 421.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.1202, allocations: 397.6 kB / 421.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.1202, allocations: 33.7 kB / 421.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.1205, allocations: 312.6 kB / 421.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.1207, allocations: 210.2 kB / 422 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.1209, allocations: 102.3 kB / 422.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1211, allocations: 358.8 kB / 422.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.1215, allocations: 177.2 kB / 422.6 MB, free: 8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/0.1221, allocations: 299 kB / 422.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.1231, allocations: 498.5 kB / 423.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1231, allocations: 0 / 423.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001576/0.1247, allocations: 0.754 MB / 424.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1247, allocations: 4 kB / 424.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1248, allocations: 4 kB / 424.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005656/0.1253, allocations: 185.3 kB / 424.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.1258, allocations: 107.8 kB / 424.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/0.1307, allocations: 4.278 MB / 428.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.1311, allocations: 27.98 kB / 428.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.1312, allocations: 28.06 kB / 428.8 MB, free: 1.461 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.0002583/0.1315, allocations: 178.2 kB / 429 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/0.1316, allocations: 51.67 kB / 429 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.1317, allocations: 60.97 kB / 429.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.1317, allocations: 8 kB / 429.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.1317, allocations: 4.188 kB / 429.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.1318, allocations: 3.984 kB / 429.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1819/0.3136, allocations: 1.3 MB / 430.4 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.3137, allocations: 3.219 kB / 430.4 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.314, allocations: 71.62 kB / 430.5 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/0.3144, allocations: 160.4 kB / 430.6 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.3145, allocations: 13.03 kB / 430.6 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.3174, allocations: 4.086 MB / 434.7 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3174, allocations: 4.969 kB / 434.7 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.3186, allocations: 0.7054 MB / 435.4 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.3187, allocations: 130.2 kB / 435.6 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.3187, allocations: 13.75 kB / 435.6 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.319, allocations: 23.66 kB / 435.6 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3191, allocations: 48.53 kB / 435.6 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.3191, allocations: 13.97 kB / 435.6 MB, free: 18.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002704/0.3194, allocations: 276.5 kB / 435.9 MB, free: 18.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3194, allocations: 0 / 435.9 MB, free: 18.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006808/0.3201, allocations: 148.3 kB / 436.1 MB, free: 18.6 MB / 350.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.0001238/0.3202, allocations: 123 kB / 436.2 MB, free: 18.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.3216, allocations: 0.7834 MB / 437 MB, free: 18.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3216, allocations: 0 / 437 MB, free: 18.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007541/0.3224, allocations: 0.526 MB / 437.5 MB, free: 18.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.3228, allocations: 51.52 kB / 437.5 MB, free: 18.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3246, allocations: 0.9808 MB / 438.5 MB, free: 17.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.325, allocations: 0.8578 MB / 439.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.3251, allocations: 34.19 kB / 439.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3251, allocations: 0 / 439.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of Templates: time 0.01443/0.3396, allocations: 9.668 MB / 449.1 MB, free: 14.6 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.917564579052851]