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.002008/0.002008, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002552/0.002552, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 18.57 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.48/1.48, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.047e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005035/0.005055, allocations: 3.249 MB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.006739, allocations: 0.923 MB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.006901, allocations: 8 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.007164, allocations: 99.03 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.007576, allocations: 174.6 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.007942, allocations: 171.6 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007215/0.008664, allocations: 0.6541 MB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.008926, allocations: 130 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004597/0.009386, allocations: 359.2 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.009696, allocations: 195.4 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.009782, allocations: 55.94 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.009869, allocations: 52 kB / 278.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.009995, allocations: 131.5 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.01022, allocations: 191.5 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007579/0.01098, allocations: 0.6501 MB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01098, allocations: 0 / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01098, allocations: 0 / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.01099, allocations: 0 / 279.2 MB, free: 10.77 MB / 266.7 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.001543/0.01253, allocations: 0.7816 MB / 280 MB, free: 9.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.01257, allocations: 15.98 kB / 280 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.01286, allocations: 108.5 kB / 280.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.01336, allocations: 301.3 kB / 280.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.01341, allocations: 37.69 kB / 280.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.0135, allocations: 48.38 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/0.01438, allocations: 443 kB / 280.9 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.01439, allocations: 192 / 280.9 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.01444, allocations: 23.94 kB / 280.9 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.01446, allocations: 16 kB / 281 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009028/0.01536, allocations: 385 kB / 281.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.0179, allocations: 1.283 MB / 282.6 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/0.01863, allocations: 297 kB / 282.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.01908, allocations: 177.3 kB / 283.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.01911, allocations: 12.33 kB / 283.1 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.01915, allocations: 38.83 kB / 283.1 MB, free: 6.691 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.462e-06/0.01915, allocations: 0 / 283.1 MB, free: 6.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.003441/0.02259, allocations: 1.199 MB / 284.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.02265, allocations: 55.91 kB / 284.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.02314, allocations: 409.5 kB / 284.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.02318, allocations: 33.64 kB / 284.8 MB, free: 4.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.02345, allocations: 316.6 kB / 285.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.02363, allocations: 198.4 kB / 285.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.02382, allocations: 114.2 kB / 285.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.02403, allocations: 354.8 kB / 285.8 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.02449, allocations: 177.2 kB / 286 MB, free: 3.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.02506, allocations: 303.1 kB / 286.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.02608, allocations: 496.2 kB / 286.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02608, allocations: 0 / 286.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001742/0.02783, allocations: 0.7601 MB / 287.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.02785, allocations: 8 kB / 287.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.02786, allocations: 4 kB / 287.5 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.02906, allocations: 261.5 kB / 287.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.02957, allocations: 119.7 kB / 287.9 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1328/0.1624, allocations: 3.978 MB / 291.9 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.1629, allocations: 32.5 kB / 291.9 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.1629, allocations: 22.41 kB / 291.9 MB, free: 26.02 MB / 266.7 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.0001917/0.1631, allocations: 179.6 kB / 292.1 MB, free: 25.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1632, allocations: 72.62 kB / 292.2 MB, free: 25.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1633, allocations: 59.72 kB / 292.2 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1633, allocations: 5.734 kB / 292.2 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.1633, allocations: 4.828 kB / 292.2 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1633, allocations: 4.172 kB / 292.2 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.1654, allocations: 1.143 MB / 293.4 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1654, allocations: 3.031 kB / 293.4 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.1657, allocations: 71.67 kB / 293.4 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.1667, allocations: 249.1 kB / 293.7 MB, free: 25.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.1668, allocations: 12.95 kB / 293.7 MB, free: 25.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.1697, allocations: 3.82 MB / 297.5 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1698, allocations: 6.688 kB / 297.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.171, allocations: 0.7183 MB / 298.2 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.1711, allocations: 48.81 kB / 298.3 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.1712, allocations: 12.25 kB / 298.3 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.1715, allocations: 23.36 kB / 298.3 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1716, allocations: 47.45 kB / 298.4 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.1716, allocations: 16.61 kB / 298.4 MB, free: 21.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000285/0.1719, allocations: 270.6 kB / 298.7 MB, free: 21.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1719, allocations: 4.656 kB / 298.7 MB, free: 21.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007209/0.1726, allocations: 153.3 kB / 298.8 MB, free: 21.36 MB / 266.7 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.000107/0.1727, allocations: 105.4 kB / 298.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.1741, allocations: 0.779 MB / 299.7 MB, free: 20.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1741, allocations: 1.406 kB / 299.7 MB, free: 20.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007424/0.1749, allocations: 0.5114 MB / 300.2 MB, free: 20.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.1753, allocations: 49.45 kB / 300.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1769, allocations: 0.9595 MB / 301.2 MB, free: 19.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1772, allocations: 261.3 kB / 301.5 MB, free: 19.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.1773, allocations: 44 kB / 301.5 MB, free: 19.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.1774, allocations: 30.58 kB / 301.5 MB, free: 19.82 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1774, allocations: 0 / 301.5 MB, free: 19.82 MB / 266.7 MB Notification: Performance of Templates: time 0.009914/0.1873, allocations: 5.188 MB / 306.7 MB, free: 18.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/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: 4.497898158035241]