Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 194.6 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.6 MB / 244.7 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007341/0.0007341, allocations: 95.84 kB / 296.8 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002305/0.0002305, allocations: 8 kB / 356.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1813, allocations: 51.28 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.002468/0.1838, allocations: 2.992 MB / 411 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.1848, allocations: 0.9096 MB / 411.9 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.185, allocations: 13.88 kB / 412 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.1852, allocations: 67.47 kB / 412 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1854, allocations: 131.1 kB / 412.2 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1857, allocations: 126.4 kB / 412.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.186, allocations: 0.5724 MB / 412.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.1862, allocations: 155.2 kB / 413 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.1865, allocations: 211.1 kB / 413.2 MB, free: 22.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.1866, allocations: 238.8 kB / 413.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.1867, allocations: 28 kB / 413.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.613e-05/0.1868, allocations: 28 kB / 413.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.1868, allocations: 92.3 kB / 413.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.187, allocations: 276.3 kB / 413.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1872, allocations: 467.6 kB / 414.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1872, allocations: 4 kB / 414.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1872, allocations: 0 / 414.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1872, allocations: 0 / 414.3 MB, free: 21.41 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.001035/0.1883, allocations: 0.7642 MB / 415.1 MB, free: 20.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1883, allocations: 16.02 kB / 415.1 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.33e-05/0.1884, allocations: 64.12 kB / 415.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1887, allocations: 343.2 kB / 415.5 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.1887, allocations: 37.69 kB / 415.5 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.1888, allocations: 48.38 kB / 415.6 MB, free: 20.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/0.1895, allocations: 450.4 kB / 416 MB, free: 19.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1895, allocations: 0 / 416 MB, free: 19.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.453e-05/0.1895, allocations: 20 kB / 416 MB, free: 19.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.1895, allocations: 12 kB / 416.1 MB, free: 19.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.1903, allocations: 405 kB / 416.4 MB, free: 19.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.1922, allocations: 1.597 MB / 418 MB, free: 17.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.1927, allocations: 403.9 kB / 418.4 MB, free: 17.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.1931, allocations: 190.2 kB / 418.6 MB, free: 16.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.1931, allocations: 12.33 kB / 418.6 MB, free: 16.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.147e-05/0.1932, allocations: 30.89 kB / 418.7 MB, free: 16.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.1932, allocations: 0 / 418.7 MB, free: 16.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002772/0.1959, allocations: 1.282 MB / 419.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.196, allocations: 59.97 kB / 420 MB, free: 15.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.1963, allocations: 393.5 kB / 420.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1964, allocations: 33.7 kB / 420.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1965, allocations: 303.8 kB / 420.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.1965, allocations: 185.3 kB / 420.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.1966, allocations: 12.09 kB / 420.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.982e-05/0.1966, allocations: 366.7 kB / 421.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.197, allocations: 181.2 kB / 421.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.1974, allocations: 314.9 kB / 421.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007174/0.1981, allocations: 0.5024 MB / 422.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1981, allocations: 0 / 422.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001122/0.1993, allocations: 0.7615 MB / 423 MB, free: 12.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1993, allocations: 8 kB / 423 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1993, allocations: 7.984 kB / 423 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/0.1997, allocations: 185.5 kB / 423.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.2002, allocations: 111.9 kB / 423.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.2029, allocations: 3.866 MB / 427.2 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.2032, allocations: 40.03 kB / 427.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.2033, allocations: 24 kB / 427.3 MB, free: 7.805 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.2034, allocations: 185.6 kB / 427.4 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.2035, allocations: 47.44 kB / 427.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.2036, allocations: 61.02 kB / 427.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2036, allocations: 8 kB / 427.5 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.2036, allocations: 4 kB / 427.6 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2036, allocations: 0 / 427.6 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.2054, allocations: 1.328 MB / 428.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2054, allocations: 0 / 428.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.2057, allocations: 80.02 kB / 429 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/0.206, allocations: 157.5 kB / 429.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.2061, allocations: 11.98 kB / 429.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.2085, allocations: 3.704 MB / 432.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2085, allocations: 3.938 kB / 432.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/0.2095, allocations: 0.7199 MB / 433.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.2095, allocations: 120.5 kB / 433.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.2096, allocations: 12 kB / 433.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.2098, allocations: 27.98 kB / 433.7 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.2099, allocations: 44.38 kB / 433.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.21, allocations: 19.98 kB / 433.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.2102, allocations: 267.2 kB / 434 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2102, allocations: 4 kB / 434 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000564/0.2107, allocations: 148.1 kB / 434.2 MB, free: 480 kB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.874e-05/0.2109, allocations: 115.1 kB / 434.3 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.2121, allocations: 0.8048 MB / 435.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2122, allocations: 4.188 kB / 435.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007367/0.2129, allocations: 0.5311 MB / 435.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.2134, allocations: 54.83 kB / 435.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.2149, allocations: 1.162 MB / 436.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.2153, allocations: 0.8631 MB / 437.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.2154, allocations: 43.36 kB / 437.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2154, allocations: 0 / 437.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of Templates: time 0.01006/0.2255, allocations: 9.543 MB / 447.3 MB, free: 3.203 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches