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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009954/0.0009954, allocations: 104.9 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009985/0.0009987, allocations: 43.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.192, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003349/0.1954, allocations: 3.538 MB / 410.6 MB, free: 24.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1965, allocations: 0.9626 MB / 411.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.1966, allocations: 11.94 kB / 411.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.1969, allocations: 79.39 kB / 411.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.1971, allocations: 131.1 kB / 411.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.1974, allocations: 147.9 kB / 411.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1977, allocations: 0.6075 MB / 412.5 MB, free: 22.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.1979, allocations: 162.3 kB / 412.7 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.1982, allocations: 231 kB / 412.9 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1984, allocations: 262.7 kB / 413.2 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.1984, allocations: 36 kB / 413.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.219e-05/0.1985, allocations: 32 kB / 413.2 MB, free: 21.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.1986, allocations: 107.5 kB / 413.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.1987, allocations: 274.5 kB / 413.6 MB, free: 21.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.199, allocations: 0.6047 MB / 414.2 MB, free: 20.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1991, allocations: 0 / 414.2 MB, free: 20.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1991, allocations: 3.938 kB / 414.2 MB, free: 20.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1991, allocations: 0 / 414.2 MB, free: 20.63 MB / 298.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.001149/0.2002, allocations: 0.8575 MB / 415.1 MB, free: 19.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.2003, allocations: 8.031 kB / 415.1 MB, free: 19.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.2003, allocations: 64.19 kB / 415.1 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.2006, allocations: 355.6 kB / 415.5 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.2007, allocations: 37.69 kB / 415.5 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.2007, allocations: 60.36 kB / 415.6 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.2014, allocations: 446.4 kB / 416 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2014, allocations: 0 / 416 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.2014, allocations: 20 kB / 416 MB, free: 18.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2015, allocations: 12 kB / 416 MB, free: 18.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.2022, allocations: 385 kB / 416.4 MB, free: 18.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.2041, allocations: 1.589 MB / 418 MB, free: 16.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.2046, allocations: 405.4 kB / 418.4 MB, free: 16.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.205, allocations: 181.4 kB / 418.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.2051, allocations: 4.328 kB / 418.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.2051, allocations: 34.89 kB / 418.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.2051, allocations: 0 / 418.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002771/0.2079, allocations: 1.195 MB / 419.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.2079, allocations: 55.97 kB / 419.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.2082, allocations: 413.5 kB / 420.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.2082, allocations: 29.7 kB / 420.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.2083, allocations: 307.8 kB / 420.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.2084, allocations: 185.3 kB / 420.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2085, allocations: 110.2 kB / 420.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.2086, allocations: 366.9 kB / 421.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.209, allocations: 177.2 kB / 421.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.2094, allocations: 303.1 kB / 421.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/0.2102, allocations: 494.5 kB / 422.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2102, allocations: 7.984 kB / 422.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001189/0.2114, allocations: 0.7458 MB / 423 MB, free: 11.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2114, allocations: 6.812 kB / 423 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2114, allocations: 4 kB / 423 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.2119, allocations: 187.3 kB / 423.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.2123, allocations: 111.9 kB / 423.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.2151, allocations: 3.869 MB / 427.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.2155, allocations: 31.97 kB / 427.2 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.2155, allocations: 28.06 kB / 427.2 MB, free: 6.977 MB / 298.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.0001738/0.2157, allocations: 187.7 kB / 427.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.157e-05/0.2158, allocations: 47.34 kB / 427.4 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.2159, allocations: 61.06 kB / 427.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2159, allocations: 4 kB / 427.5 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.2159, allocations: 4 kB / 427.5 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2159, allocations: 3.984 kB / 427.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.2177, allocations: 1.308 MB / 428.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2178, allocations: 0 / 428.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.218, allocations: 72.02 kB / 428.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003486/0.2184, allocations: 166.4 kB / 429 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2184, allocations: 8 kB / 429 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.2208, allocations: 3.708 MB / 432.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2209, allocations: 7.969 kB / 432.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.2225, allocations: 1.497 MB / 434.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.993e-05/0.2226, allocations: 128.5 kB / 434.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.2227, allocations: 8 kB / 434.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.223, allocations: 23.98 kB / 434.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2231, allocations: 52.23 kB / 434.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.2231, allocations: 16 kB / 434.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002914/0.2234, allocations: 279.2 kB / 434.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2234, allocations: 0 / 434.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000759/0.2242, allocations: 156 kB / 434.9 MB, free: 14.81 MB / 314.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.0001231/0.2243, allocations: 108 kB / 435 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.2258, allocations: 0.7847 MB / 435.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.2258, allocations: 4.812 kB / 435.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.2265, allocations: 0.5271 MB / 436.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.227, allocations: 56.36 kB / 436.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.2289, allocations: 1.479 MB / 437.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.2293, allocations: 0.8748 MB / 438.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.2295, allocations: 44.36 kB / 438.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.2296, allocations: 39.44 kB / 438.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2296, allocations: 0 / 438.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of Templates: time 0.00887/0.2385, allocations: 4.958 MB / 443.8 MB, free: 5.809 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches