Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009349/0.0009348, allocations: 197.8 kB / 17.38 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 226.5 MB / 244.7 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009594/0.0009594, allocations: 97.42 kB / 296.8 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000212/0.0002121, allocations: 8 kB / 356.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2051, allocations: 51.3 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002124/0.2072, allocations: 2.387 MB / 410.4 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.2081, allocations: 0.7253 MB / 411.2 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.2083, allocations: 5.781 kB / 411.2 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.2084, allocations: 51.58 kB / 411.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.2087, allocations: 75.44 kB / 411.3 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.2089, allocations: 78.22 kB / 411.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.2091, allocations: 350.5 kB / 411.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2093, allocations: 118.6 kB / 411.8 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.2095, allocations: 135.5 kB / 412 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2097, allocations: 144.2 kB / 412.1 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.2097, allocations: 16 kB / 412.1 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.97e-05/0.2098, allocations: 20.88 kB / 412.1 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.2098, allocations: 55.75 kB / 412.2 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.2099, allocations: 169 kB / 412.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.2101, allocations: 288.7 kB / 412.6 MB, free: 23.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2101, allocations: 5.156 kB / 412.6 MB, free: 23.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2101, allocations: 0 / 412.6 MB, free: 23.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.2102, allocations: 4 kB / 412.6 MB, free: 23.09 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.0008459/0.211, allocations: 0.5941 MB / 413.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2111, allocations: 12.03 kB / 413.2 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.2111, allocations: 40.47 kB / 413.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.2113, allocations: 268 kB / 413.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.2114, allocations: 25.03 kB / 413.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.2114, allocations: 36.31 kB / 413.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.2119, allocations: 294.4 kB / 413.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2119, allocations: 7.984 kB / 413.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.2119, allocations: 16 kB / 413.9 MB, free: 21.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.212, allocations: 11.98 kB / 413.9 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/0.2125, allocations: 262.5 kB / 414.2 MB, free: 21.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.2138, allocations: 1.116 MB / 415.3 MB, free: 20.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.2141, allocations: 154.5 kB / 415.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.2143, allocations: 76.81 kB / 415.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.2143, allocations: 4 kB / 415.5 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.2144, allocations: 30.56 kB / 415.6 MB, free: 19.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.2144, allocations: 0 / 415.6 MB, free: 19.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.00178/0.2162, allocations: 0.6867 MB / 416.2 MB, free: 19.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.2162, allocations: 55.41 kB / 416.3 MB, free: 19.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.2164, allocations: 258.6 kB / 416.6 MB, free: 18.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2164, allocations: 33.7 kB / 416.6 MB, free: 18.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.2165, allocations: 231.4 kB / 416.8 MB, free: 18.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.2165, allocations: 70.94 kB / 416.9 MB, free: 18.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.2166, allocations: 8 kB / 416.9 MB, free: 18.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.2166, allocations: 334.8 kB / 417.2 MB, free: 18.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.2169, allocations: 111.9 kB / 417.3 MB, free: 18.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.2172, allocations: 207.9 kB / 417.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.2177, allocations: 325.1 kB / 417.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2177, allocations: 0 / 417.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000694/0.2184, allocations: 409.3 kB / 418.2 MB, free: 17.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2184, allocations: 8 kB / 418.3 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.2184, allocations: 4 kB / 418.3 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.2186, allocations: 61.66 kB / 418.3 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.2189, allocations: 79.89 kB / 418.4 MB, free: 16.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.2201, allocations: 2.639 MB / 421 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.2204, allocations: 32.05 kB / 421.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2204, allocations: 12 kB / 421.1 MB, free: 14.02 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.0001209/0.2205, allocations: 150.4 kB / 421.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.2206, allocations: 27.66 kB / 421.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.2207, allocations: 30.17 kB / 421.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2207, allocations: 4 kB / 421.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2207, allocations: 0 / 421.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2207, allocations: 7.984 kB / 421.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.2209, allocations: 329.5 kB / 421.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.221, allocations: 0 / 421.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.2211, allocations: 39.97 kB / 421.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.2213, allocations: 61.61 kB / 421.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2213, allocations: 4 kB / 421.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.2225, allocations: 2.628 MB / 424.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2225, allocations: 128 / 424.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.2231, allocations: 400.6 kB / 424.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.2231, allocations: 100.8 kB / 424.8 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.2231, allocations: 7.984 kB / 424.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2233, allocations: 23.98 kB / 424.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.2234, allocations: 15.97 kB / 424.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.2234, allocations: 8 kB / 424.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.2235, allocations: 182 kB / 425.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2235, allocations: 0 / 425.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.2239, allocations: 72 kB / 425.1 MB, free: 9.59 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 8.927e-05/0.224, allocations: 111.2 kB / 425.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007301/0.2247, allocations: 0.4892 MB / 425.7 MB, free: 8.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2247, allocations: 0 / 425.7 MB, free: 8.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.2251, allocations: 358.1 kB / 426.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.2255, allocations: 27.36 kB / 426.1 MB, free: 8.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/0.2263, allocations: 0.7094 MB / 426.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.2264, allocations: 0.7713 MB / 427.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.2265, allocations: 27.38 kB / 427.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2265, allocations: 3.938 kB / 427.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of Templates: time 0.005476/0.232, allocations: 5.814 MB / 433.4 MB, free: 1.18 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches