Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 194.8 kB / 17.05 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.6 MB / 244.3 MB, free: 8.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007702/0.0007702, allocations: 110.8 kB / 296.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002207/0.0002209, allocations: 4 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2024, allocations: 51.3 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003539/0.2059, allocations: 4.328 MB / 411.8 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.2082, allocations: 1.934 MB / 413.8 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.2085, allocations: 17.22 kB / 413.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.2091, allocations: 230.9 kB / 414 MB, free: 21.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008349/0.2099, allocations: 334.8 kB / 414.3 MB, free: 21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.2114, allocations: 0.9909 MB / 415.3 MB, free: 20.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.212, allocations: 0.6885 MB / 416 MB, free: 19.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.2137, allocations: 1.129 MB / 417.1 MB, free: 18.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.214, allocations: 282.9 kB / 417.4 MB, free: 17.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003983/0.2144, allocations: 366.5 kB / 417.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.2145, allocations: 40 kB / 417.8 MB, free: 17.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.2152, allocations: 359.6 kB / 418.2 MB, free: 17.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.82e-05/0.2153, allocations: 127.4 kB / 418.3 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.2155, allocations: 153.3 kB / 418.4 MB, free: 16.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.2163, allocations: 0.893 MB / 419.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2163, allocations: 3.938 kB / 419.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2163, allocations: 0 / 419.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.245e-05/0.2163, allocations: 4 kB / 419.3 MB, free: 15.96 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003736/0.2201, allocations: 1.356 MB / 420.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2201, allocations: 12.03 kB / 420.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.2225, allocations: 386.7 kB / 421.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.2228, allocations: 258 kB / 421.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.263e-05/0.2228, allocations: 62 kB / 421.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.223, allocations: 83.91 kB / 421.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.2246, allocations: 0.8875 MB / 422.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.2246, allocations: 0 / 422.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.517e-05/0.2247, allocations: 36 kB / 422.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.2247, allocations: 20 kB / 422.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.2263, allocations: 0.8276 MB / 423.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.2297, allocations: 3.052 MB / 426.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009875/0.2307, allocations: 1.009 MB / 427.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.2312, allocations: 254.4 kB / 427.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.2313, allocations: 182.7 kB / 427.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.2313, allocations: 39.12 kB / 427.8 MB, free: 7.039 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 1.833e-06/0.2313, allocations: 0 / 427.8 MB, free: 7.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.007303/0.2386, allocations: 2.681 MB / 430.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.2387, allocations: 85.67 kB / 430.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.2389, allocations: 320.2 kB / 430.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.239, allocations: 37.7 kB / 430.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2391, allocations: 362.6 kB / 431.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.2392, allocations: 220.9 kB / 431.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.2392, allocations: 12 kB / 431.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.2393, allocations: 354.8 kB / 431.8 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007231/0.24, allocations: 289.8 kB / 432.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007891/0.2408, allocations: 0.5277 MB / 432.6 MB, free: 1.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/0.2416, allocations: 362 kB / 433 MB, free: 1.578 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2416, allocations: 4 kB / 433 MB, free: 1.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001841/0.2435, allocations: 0.9494 MB / 433.9 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2435, allocations: 8 kB / 434 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.2435, allocations: 8 kB / 434 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/0.2437, allocations: 73.66 kB / 434 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.2446, allocations: 211.7 kB / 434.2 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.2464, allocations: 2.667 MB / 436.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006618/0.247, allocations: 79.88 kB / 437 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.2471, allocations: 35.98 kB / 437 MB, free: 13.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0002834/0.2474, allocations: 213.6 kB / 437.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/0.2475, allocations: 39.53 kB / 437.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.2495, allocations: 0.7975 MB / 438.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2495, allocations: 4 kB / 438.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2495, allocations: 8 kB / 438.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2495, allocations: 3.984 kB / 438.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.2523, allocations: 1.477 MB / 439.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2523, allocations: 0 / 439.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006919/0.253, allocations: 147.8 kB / 439.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/0.2531, allocations: 61.62 kB / 439.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.2532, allocations: 15.98 kB / 439.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.255, allocations: 2.644 MB / 442.4 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.255, allocations: 4.125 kB / 442.4 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.2577, allocations: 1.152 MB / 443.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.2579, allocations: 164.5 kB / 443.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.2579, allocations: 8 kB / 443.7 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/0.2585, allocations: 68 kB / 443.8 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2586, allocations: 44.5 kB / 443.9 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.2587, allocations: 19.98 kB / 443.9 MB, free: 6.008 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002151/0.2589, allocations: 223 kB / 444.1 MB, free: 5.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2589, allocations: 0 / 444.1 MB, free: 5.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006773/0.2596, allocations: 176 kB / 444.3 MB, free: 5.621 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003166/0.2599, allocations: 171.8 kB / 444.4 MB, free: 5.441 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.262, allocations: 0.9512 MB / 445.4 MB, free: 4.465 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.2621, allocations: 8.375 kB / 445.4 MB, free: 4.457 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.2631, allocations: 0.5784 MB / 446 MB, free: 3.852 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.2636, allocations: 48.95 kB / 446 MB, free: 3.801 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.2665, allocations: 1.587 MB / 447.6 MB, free: 2.184 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.267, allocations: 0.8849 MB / 448.5 MB, free: 1.277 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.2673, allocations: 59.41 kB / 448.5 MB, free: 1.219 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2673, allocations: 0 / 448.5 MB, free: 1.219 MB / 314.7 MB Notification: Performance of Templates: time 0.01655/0.2838, allocations: 13.21 MB / 461.8 MB, free: 4.02 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches