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.001715/0.001715, allocations: 195.3 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 226.5 MB / 244.7 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007811/0.000781, allocations: 99.48 kB / 296.8 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002317/0.0002319, allocations: 8 kB / 356.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2063, allocations: 51.29 MB / 408 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00215/0.2085, allocations: 2.414 MB / 410.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.2094, allocations: 0.7253 MB / 411.2 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2096, allocations: 8 kB / 411.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.2098, allocations: 51.62 kB / 411.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.21, allocations: 83.92 kB / 411.3 MB, free: 24.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.2102, allocations: 74.05 kB / 411.4 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.2104, allocations: 360.3 kB / 411.7 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2106, allocations: 112.4 kB / 411.9 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.2108, allocations: 136.4 kB / 412 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.211, allocations: 148.5 kB / 412.1 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.211, allocations: 20 kB / 412.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.007e-05/0.2111, allocations: 20 kB / 412.2 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.2111, allocations: 55.77 kB / 412.2 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2112, allocations: 185.6 kB / 412.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2114, allocations: 288.1 kB / 412.7 MB, free: 23.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2114, allocations: 3.75 kB / 412.7 MB, free: 23.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2114, allocations: 0 / 412.7 MB, free: 23.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2114, allocations: 0 / 412.7 MB, free: 23.06 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.0009179/0.2124, allocations: 0.6083 MB / 413.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2124, allocations: 12.02 kB / 413.3 MB, free: 22.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.2125, allocations: 40.41 kB / 413.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.2127, allocations: 272.6 kB / 413.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.2127, allocations: 21.03 kB / 413.6 MB, free: 22.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.2128, allocations: 32.38 kB / 413.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.2133, allocations: 306.3 kB / 414 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2133, allocations: 4 kB / 414 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.2133, allocations: 12 kB / 414 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2133, allocations: 8 kB / 414 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005348/0.2139, allocations: 270.4 kB / 414.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.2152, allocations: 1.139 MB / 415.4 MB, free: 20.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.2155, allocations: 151.4 kB / 415.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.2157, allocations: 72.83 kB / 415.6 MB, free: 19.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2157, allocations: 4 kB / 415.6 MB, free: 19.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.2157, allocations: 38.55 kB / 415.7 MB, free: 19.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/0.2158, allocations: 3.938 kB / 415.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001804/0.2176, allocations: 0.6714 MB / 416.3 MB, free: 19.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.2176, allocations: 59.41 kB / 416.4 MB, free: 19.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.2178, allocations: 278.6 kB / 416.7 MB, free: 18.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2179, allocations: 25.7 kB / 416.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.218, allocations: 239.4 kB / 416.9 MB, free: 18.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.218, allocations: 71.02 kB / 417 MB, free: 18.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.218, allocations: 4 kB / 417 MB, free: 18.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.2181, allocations: 334.8 kB / 417.3 MB, free: 18.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.2183, allocations: 111.9 kB / 417.4 MB, free: 18.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.2186, allocations: 207.8 kB / 417.6 MB, free: 17.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.2191, allocations: 325.1 kB / 418 MB, free: 17.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2192, allocations: 0 / 418 MB, free: 17.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007251/0.2199, allocations: 417.2 kB / 418.4 MB, free: 17.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2199, allocations: 8 kB / 418.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2199, allocations: 4 kB / 418.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.2202, allocations: 65.61 kB / 418.4 MB, free: 16.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.2205, allocations: 75.89 kB / 418.5 MB, free: 16.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.2217, allocations: 2.643 MB / 421.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.222, allocations: 23.98 kB / 421.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.222, allocations: 16 kB / 421.2 MB, free: 13.93 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.0001221/0.2222, allocations: 157.8 kB / 421.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.2222, allocations: 31.56 kB / 421.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.2223, allocations: 30.17 kB / 421.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2223, allocations: 4 kB / 421.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2223, allocations: 0 / 421.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2223, allocations: 3.984 kB / 421.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.2226, allocations: 333.5 kB / 421.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2226, allocations: 7.922 kB / 421.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.2228, allocations: 47.91 kB / 421.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.2229, allocations: 57.61 kB / 421.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.223, allocations: 8 kB / 421.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.2241, allocations: 2.629 MB / 424.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2241, allocations: 7.922 kB / 424.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.2247, allocations: 396.7 kB / 424.9 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.2248, allocations: 100.7 kB / 425 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.2248, allocations: 8 kB / 425 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.225, allocations: 19.98 kB / 425 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.2251, allocations: 15.97 kB / 425 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.2251, allocations: 8 kB / 425 MB, free: 9.719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2252, allocations: 194 kB / 425.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2252, allocations: 8 kB / 425.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.2256, allocations: 72 kB / 425.3 MB, free: 9.449 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.0001235/0.2257, allocations: 99.25 kB / 425.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008246/0.2265, allocations: 0.4932 MB / 425.9 MB, free: 8.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2266, allocations: 0 / 425.9 MB, free: 8.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.227, allocations: 357.9 kB / 426.2 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2273, allocations: 25.56 kB / 426.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008349/0.2282, allocations: 0.7173 MB / 427 MB, free: 7.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.2283, allocations: 0.7752 MB / 427.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.2284, allocations: 27.44 kB / 427.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2284, allocations: 0 / 427.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of Templates: time 0.005352/0.2338, allocations: 5.959 MB / 433.7 MB, free: 0.8984 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