Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009598/0.0009599, allocations: 94.86 kB / 16.3 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009213/0.0009214, allocations: 184.1 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.2 MB / 241.1 MB, free: 14.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002406, allocations: 10.03 kB / 300.7 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.08989, allocations: 50.4 MB / 351.1 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004388/0.09432, allocations: 4.077 MB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.09703, allocations: 1.893 MB / 357.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.09722, allocations: 16 kB / 357.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.0977, allocations: 226.8 kB / 357.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009129/0.09862, allocations: 0.4984 MB / 357.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.1001, allocations: 0.8734 MB / 358.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.1007, allocations: 0.5033 MB / 359.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.1025, allocations: 1.09 MB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.1028, allocations: 283 kB / 360.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.1032, allocations: 350.6 kB / 360.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.1033, allocations: 36 kB / 361 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000557/0.1038, allocations: 311.6 kB / 361.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/0.1039, allocations: 119.6 kB / 361.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1041, allocations: 157.3 kB / 361.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007616/0.1048, allocations: 0.8767 MB / 362.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1048, allocations: 0 / 362.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1049, allocations: 0 / 362.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1049, allocations: 0 / 362.4 MB, free: 8.441 MB / 302.1 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.003966/0.1088, allocations: 1.342 MB / 363.8 MB, free: 7.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1089, allocations: 8.031 kB / 363.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/0.1114, allocations: 386.7 kB / 364.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1117, allocations: 262 kB / 364.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.1118, allocations: 62 kB / 364.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.1119, allocations: 91.86 kB / 364.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.1135, allocations: 0.8719 MB / 365.4 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.1135, allocations: 4 kB / 365.4 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.1136, allocations: 32 kB / 365.5 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1137, allocations: 20 kB / 365.5 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.1155, allocations: 0.8316 MB / 366.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.1197, allocations: 2.965 MB / 369.3 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.1208, allocations: 1.007 MB / 370.3 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-05/0.1209, allocations: 93.62 kB / 370.4 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.121, allocations: 35.12 kB / 370.4 MB, free: 8 kB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.053e-06/0.121, allocations: 8 kB / 370.4 MB, free: 0 / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.1595/0.2805, allocations: 2.687 MB / 373.1 MB, free: 23.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.2806, allocations: 92.59 kB / 373.2 MB, free: 23.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.2809, allocations: 312.3 kB / 373.5 MB, free: 23.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.281, allocations: 37.66 kB / 373.5 MB, free: 23.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.2812, allocations: 362.2 kB / 373.9 MB, free: 22.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.2814, allocations: 213.4 kB / 374.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.2814, allocations: 14.22 kB / 374.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2815, allocations: 349.8 kB / 374.5 MB, free: 22.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008498/0.2824, allocations: 298.2 kB / 374.7 MB, free: 22.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009186/0.2833, allocations: 0.5261 MB / 375.3 MB, free: 22.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.2842, allocations: 362.4 kB / 375.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.2842, allocations: 1.375 kB / 375.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002057/0.2863, allocations: 0.9502 MB / 376.6 MB, free: 21.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2863, allocations: 8.109 kB / 376.6 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.2863, allocations: 8.188 kB / 376.6 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.2866, allocations: 70.22 kB / 376.7 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008873/0.2875, allocations: 217.8 kB / 376.9 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.2889, allocations: 2.67 MB / 379.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.2896, allocations: 73.86 kB / 379.6 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.2896, allocations: 39.66 kB / 379.7 MB, free: 18.93 MB / 302.1 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.0002691/0.2899, allocations: 227 kB / 379.9 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.29, allocations: 41.53 kB / 379.9 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.292, allocations: 0.7885 MB / 380.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.292, allocations: 14.61 kB / 380.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.292, allocations: 1.719 kB / 380.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.292, allocations: 3.094 kB / 380.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.2947, allocations: 1.468 MB / 382.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2947, allocations: 1 kB / 382.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/0.2954, allocations: 154.8 kB / 382.3 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.2956, allocations: 60.03 kB / 382.4 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.2957, allocations: 16.8 kB / 382.4 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.2969, allocations: 2.66 MB / 385.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2969, allocations: 1.828 kB / 385.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.2995, allocations: 1.155 MB / 386.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.2997, allocations: 163.6 kB / 386.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.2998, allocations: 15.27 kB / 386.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005253/0.3003, allocations: 61.42 kB / 386.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3005, allocations: 44.39 kB / 386.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.3005, allocations: 20.47 kB / 386.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.3007, allocations: 221.8 kB / 386.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3007, allocations: 0 / 386.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007153/0.3015, allocations: 174.7 kB / 386.9 MB, free: 14.12 MB / 302.1 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.0002165/0.3017, allocations: 159.8 kB / 387.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.3037, allocations: 0.9582 MB / 388 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3037, allocations: 0 / 388 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009596/0.3047, allocations: 0.5824 MB / 388.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.305, allocations: 36.33 kB / 388.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.3074, allocations: 1.548 MB / 390.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3077, allocations: 0.8951 MB / 391.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004716/0.3082, allocations: 95.73 kB / 391.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.3084, allocations: 48.73 kB / 391.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3084, allocations: 1.125 kB / 391.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Templates: time 0.009666/0.318, allocations: 5.858 MB / 397.1 MB, free: 9.387 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches