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.001824/0.001824, allocations: 123.4 kB / 18.46 MB, free: 4.578 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.002055/0.002055, allocations: 192.3 kB / 21.4 MB, free: 1.648 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.606/1.606, allocations: 225.6 MB / 249.8 MB, free: 3.609 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.001517/0.001517, allocations: 51.91 kB / 366.8 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 52.14 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005642/0.1111, allocations: 3.517 MB / 422.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.113, allocations: 0.9269 MB / 423.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.1133, allocations: 8 kB / 423.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.1137, allocations: 91.14 kB / 423.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005348/0.1142, allocations: 158.7 kB / 423.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.1147, allocations: 171.7 kB / 423.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007464/0.1154, allocations: 0.6309 MB / 424.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.1157, allocations: 141.5 kB / 424.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.116, allocations: 243 kB / 424.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.1164, allocations: 274.7 kB / 425.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/0.1165, allocations: 52 kB / 425.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.81e-05/0.1166, allocations: 52 kB / 425.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1167, allocations: 123.5 kB / 425.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.117, allocations: 282.5 kB / 425.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007151/0.1177, allocations: 0.63 MB / 426.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1177, allocations: 0 / 426.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1177, allocations: 0 / 426.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1177, allocations: 4 kB / 426.2 MB, free: 4.785 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.001564/0.1193, allocations: 0.8687 MB / 427.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1193, allocations: 15.89 kB / 427.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1194, allocations: 60.56 kB / 427.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.1199, allocations: 347.3 kB / 427.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.12, allocations: 41.62 kB / 427.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.1201, allocations: 56.3 kB / 427.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008568/0.1209, allocations: 442.4 kB / 428 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1209, allocations: 0 / 428 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.121, allocations: 20 kB / 428.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.121, allocations: 12 kB / 428.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000954/0.122, allocations: 389 kB / 428.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.1245, allocations: 1.585 MB / 430 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007686/0.1253, allocations: 380.6 kB / 430.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.1257, allocations: 175.4 kB / 430.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.1257, allocations: 4.328 kB / 430.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1258, allocations: 38.89 kB / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.1258, allocations: 0 / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003487/0.1293, allocations: 1.188 MB / 431.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.1293, allocations: 63.97 kB / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/0.1298, allocations: 397.6 kB / 432.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.1298, allocations: 33.7 kB / 432.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.1301, allocations: 312.6 kB / 432.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.1302, allocations: 194.3 kB / 432.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.1304, allocations: 110.3 kB / 432.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.1306, allocations: 358.8 kB / 433.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.131, allocations: 181.2 kB / 433.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.1316, allocations: 295 kB / 433.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000978/0.1326, allocations: 498.5 kB / 434.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1326, allocations: 3.938 kB / 434.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001556/0.1341, allocations: 0.7343 MB / 434.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1342, allocations: 12.22 kB / 434.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1342, allocations: 4 kB / 434.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/0.1348, allocations: 180.8 kB / 435.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.1352, allocations: 111.8 kB / 435.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/0.1401, allocations: 4.282 MB / 439.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.1406, allocations: 23.98 kB / 439.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.1407, allocations: 27.98 kB / 439.6 MB, free: 6.762 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.0002947/0.141, allocations: 186.2 kB / 439.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.141, allocations: 51.61 kB / 439.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.1412, allocations: 64.97 kB / 439.9 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1412, allocations: 4 kB / 439.9 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/0.1412, allocations: 4 kB / 439.9 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1412, allocations: 3.984 kB / 439.9 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.1436, allocations: 1.288 MB / 441.2 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.1436, allocations: 4 kB / 441.2 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.1439, allocations: 67.89 kB / 441.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.1443, allocations: 169.5 kB / 441.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.1443, allocations: 12 kB / 441.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004006/0.1483, allocations: 4.099 MB / 445.5 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1483, allocations: 0 / 445.5 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2104/0.3587, allocations: 0.6958 MB / 446.2 MB, free: 29.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.3589, allocations: 124.5 kB / 446.3 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.3589, allocations: 12.16 kB / 446.3 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.3592, allocations: 28.03 kB / 446.4 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.3594, allocations: 41.16 kB / 446.4 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.3594, allocations: 20.06 kB / 446.4 MB, free: 29.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002957/0.3597, allocations: 275.6 kB / 446.7 MB, free: 29.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3597, allocations: 0 / 446.7 MB, free: 29.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007602/0.3605, allocations: 151.6 kB / 446.8 MB, free: 29.29 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.0001499/0.3606, allocations: 115.8 kB / 447 MB, free: 29.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.3623, allocations: 0.759 MB / 447.7 MB, free: 28.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3623, allocations: 2.062 kB / 447.7 MB, free: 28.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009661/0.3632, allocations: 0.5058 MB / 448.2 MB, free: 28.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.3639, allocations: 48.69 kB / 448.3 MB, free: 28.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.3661, allocations: 0.9795 MB / 449.2 MB, free: 28.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3665, allocations: 0.8536 MB / 450.1 MB, free: 27.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.3667, allocations: 42.69 kB / 450.1 MB, free: 27.58 MB / 366.1 MB Notification: Performance of SimCode: time 1.352e-06/0.3667, allocations: 0 / 450.1 MB, free: 27.58 MB / 366.1 MB Notification: Performance of Templates: time 0.02058/0.3873, allocations: 9.691 MB / 459.8 MB, free: 25.94 MB / 366.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.777667968068272]