Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 226.6 MB / 244.3 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007479/0.000748, allocations: 98.48 kB / 296.4 MB, free: 6.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003942, allocations: 11.94 kB / 356.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1975, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00201/0.1995, allocations: 2.403 MB / 409.9 MB, free: 25.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.2004, allocations: 0.7334 MB / 410.6 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2005, allocations: 8 kB / 410.6 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.2007, allocations: 43.69 kB / 410.7 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.2009, allocations: 84.52 kB / 410.8 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.2011, allocations: 80.83 kB / 410.8 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.2013, allocations: 358.5 kB / 411.2 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2014, allocations: 106.3 kB / 411.3 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.2016, allocations: 135.4 kB / 411.4 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.2018, allocations: 155.3 kB / 411.6 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.2018, allocations: 16 kB / 411.6 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.021e-05/0.2018, allocations: 20 kB / 411.6 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.2019, allocations: 51.77 kB / 411.7 MB, free: 23.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.2019, allocations: 87.86 kB / 411.8 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.2021, allocations: 296.1 kB / 412 MB, free: 23.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2021, allocations: 0 / 412 MB, free: 23.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2021, allocations: 0 / 412 MB, free: 23.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2021, allocations: 0 / 412 MB, free: 23.27 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008595/0.203, allocations: 0.6118 MB / 412.7 MB, free: 22.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.203, allocations: 12.03 kB / 412.7 MB, free: 22.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.2031, allocations: 35.53 kB / 412.7 MB, free: 22.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.2033, allocations: 271.4 kB / 413 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.2033, allocations: 20.66 kB / 413 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.2034, allocations: 39.95 kB / 413 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.2039, allocations: 302 kB / 413.3 MB, free: 21.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2039, allocations: 0 / 413.3 MB, free: 21.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.2039, allocations: 8 kB / 413.3 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.204, allocations: 8 kB / 413.3 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.2045, allocations: 274.4 kB / 413.6 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.2058, allocations: 1.12 MB / 414.7 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.2061, allocations: 158.5 kB / 414.9 MB, free: 20.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.2063, allocations: 72.81 kB / 414.9 MB, free: 20.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2063, allocations: 7.984 kB / 415 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.2063, allocations: 34.56 kB / 415 MB, free: 20.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.2063, allocations: 0 / 415 MB, free: 20.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001856/0.2082, allocations: 0.6775 MB / 415.7 MB, free: 19.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.2082, allocations: 55.59 kB / 415.7 MB, free: 19.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.2084, allocations: 290.5 kB / 416 MB, free: 19.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.2084, allocations: 25.7 kB / 416 MB, free: 19.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.2085, allocations: 223.5 kB / 416.2 MB, free: 18.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.2086, allocations: 78.89 kB / 416.3 MB, free: 18.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.2086, allocations: 8 kB / 416.3 MB, free: 18.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.2086, allocations: 338.8 kB / 416.7 MB, free: 18.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.2089, allocations: 103.9 kB / 416.8 MB, free: 18.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.2092, allocations: 215.9 kB / 417 MB, free: 18.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.2095, allocations: 133 kB / 417.1 MB, free: 17.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2095, allocations: 0 / 417.1 MB, free: 17.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007155/0.2102, allocations: 409.6 kB / 417.5 MB, free: 17.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2102, allocations: 12 kB / 417.5 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2102, allocations: 7.984 kB / 417.5 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/0.2104, allocations: 57.67 kB / 417.6 MB, free: 17.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.2108, allocations: 87.83 kB / 417.7 MB, free: 17.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.2119, allocations: 2.632 MB / 420.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.2122, allocations: 32.11 kB / 420.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.2122, allocations: 12 kB / 420.3 MB, free: 14.36 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 (37): * Single equations (assignments): 35 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.2124, allocations: 157.6 kB / 420.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.2124, allocations: 23.72 kB / 420.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.2125, allocations: 34.17 kB / 420.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2125, allocations: 4 kB / 420.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2125, allocations: 4 kB / 420.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2125, allocations: 3.984 kB / 420.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.2127, allocations: 337.6 kB / 420.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2128, allocations: 0 / 420.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.213, allocations: 43.91 kB / 420.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.2131, allocations: 61.61 kB / 421 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2131, allocations: 8 kB / 421 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.2142, allocations: 2.628 MB / 423.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2142, allocations: 0 / 423.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.2148, allocations: 389.5 kB / 424 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.2149, allocations: 100.8 kB / 424.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.2149, allocations: 4 kB / 424.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2151, allocations: 23.98 kB / 424.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.2152, allocations: 27.86 kB / 424.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2152, allocations: 4 kB / 424.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.2153, allocations: 201.9 kB / 424.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2153, allocations: 0 / 424.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.2157, allocations: 72 kB / 424.4 MB, free: 9.902 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001055/0.2158, allocations: 103.2 kB / 424.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007374/0.2165, allocations: 0.4977 MB / 425 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2165, allocations: 0 / 425 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000388/0.2169, allocations: 357.4 kB / 425.4 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.2172, allocations: 28.56 kB / 425.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008685/0.2181, allocations: 0.7119 MB / 426.1 MB, free: 8.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2183, allocations: 0.7791 MB / 426.9 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.2184, allocations: 27.44 kB / 426.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2184, allocations: 0 / 426.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of Templates: time 0.005519/0.2239, allocations: 5.967 MB / 432.9 MB, free: 1.332 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches