Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009769/0.0009768, allocations: 94.92 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009324/0.0009323, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 4 kB / 306.6 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.09875, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004254/0.103, allocations: 4.075 MB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.1061, allocations: 1.956 MB / 364.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.1063, allocations: 16 kB / 364.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.1068, allocations: 234.7 kB / 364.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008038/0.1076, allocations: 374.3 kB / 364.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.1094, allocations: 0.981 MB / 365.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006623/0.11, allocations: 0.507 MB / 366.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.1119, allocations: 1.106 MB / 367.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.1123, allocations: 271 kB / 367.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.1126, allocations: 350.6 kB / 367.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.1127, allocations: 36 kB / 368 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007209/0.1134, allocations: 327.5 kB / 368.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1136, allocations: 123.5 kB / 368.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1137, allocations: 153.3 kB / 368.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009574/0.1147, allocations: 0.8884 MB / 369.4 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1147, allocations: 0 / 369.4 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1147, allocations: 4 kB / 369.4 MB, free: 2.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1147, allocations: 0 / 369.4 MB, free: 2.742 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.004203/0.1189, allocations: 1.35 MB / 370.8 MB, free: 1.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.119, allocations: 8.031 kB / 370.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/0.1215, allocations: 390.7 kB / 371.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1218, allocations: 254 kB / 371.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.1219, allocations: 69.92 kB / 371.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.122, allocations: 87.91 kB / 371.6 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1737/0.2957, allocations: 0.8753 MB / 372.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.2958, allocations: 5.781 kB / 372.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.2959, allocations: 31.69 kB / 372.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.2959, allocations: 21.66 kB / 372.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.2978, allocations: 0.8258 MB / 373.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004416/0.3022, allocations: 3.057 MB / 376.4 MB, free: 17.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.3034, allocations: 1 MB / 377.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.3035, allocations: 186.1 kB / 377.6 MB, free: 16.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3036, allocations: 41.83 kB / 377.6 MB, free: 16.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.515e-06/0.3036, allocations: 1.438 kB / 377.6 MB, free: 16.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008068/0.3116, allocations: 2.693 MB / 380.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.3117, allocations: 84.02 kB / 380.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.312, allocations: 312.9 kB / 380.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.312, allocations: 36.3 kB / 380.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3122, allocations: 365 kB / 381.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.3123, allocations: 213.7 kB / 381.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.3124, allocations: 14.44 kB / 381.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.479e-05/0.3124, allocations: 352.1 kB / 381.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007723/0.3132, allocations: 295.2 kB / 381.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008554/0.3141, allocations: 0.5249 MB / 382.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008419/0.3149, allocations: 364.8 kB / 382.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3149, allocations: 2.594 kB / 382.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002103/0.3171, allocations: 0.9491 MB / 383.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3171, allocations: 8.094 kB / 383.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.3171, allocations: 7.828 kB / 383.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.3173, allocations: 72.06 kB / 383.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.3183, allocations: 212.1 kB / 384.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.3196, allocations: 2.678 MB / 386.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.3203, allocations: 72.91 kB / 386.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.3204, allocations: 41.12 kB / 386.9 MB, free: 10.17 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.0002598/0.3207, allocations: 218.6 kB / 387.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.3207, allocations: 39.41 kB / 387.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.3228, allocations: 0.796 MB / 387.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3228, allocations: 6.406 kB / 387.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3228, allocations: 1.219 kB / 387.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3228, allocations: 4.719 kB / 387.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.3254, allocations: 1.466 MB / 389.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3255, allocations: 0 / 389.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006999/0.3262, allocations: 150.4 kB / 389.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.3263, allocations: 69.61 kB / 389.6 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.3264, allocations: 18.61 kB / 389.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.3277, allocations: 2.66 MB / 392.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3277, allocations: 480 / 392.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.3303, allocations: 1.166 MB / 393.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.3304, allocations: 159.3 kB / 393.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.3305, allocations: 11.81 kB / 393.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.3311, allocations: 57.69 kB / 393.7 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3312, allocations: 55.88 kB / 393.7 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.3312, allocations: 23.17 kB / 393.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.3314, allocations: 217.8 kB / 394 MB, free: 5.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3314, allocations: 0 / 394 MB, free: 5.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007634/0.3322, allocations: 174.4 kB / 394.1 MB, free: 5.371 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.0002338/0.3325, allocations: 166.2 kB / 394.3 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.3346, allocations: 0.9614 MB / 395.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3346, allocations: 1.375 kB / 395.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.3357, allocations: 0.5773 MB / 395.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.336, allocations: 31.09 kB / 395.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3386, allocations: 1.551 MB / 397.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3389, allocations: 0.8968 MB / 398.3 MB, free: 2.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004465/0.3394, allocations: 97.17 kB / 398.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3396, allocations: 48.44 kB / 398.5 MB, free: 2.648 MB / 302.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3396, allocations: 0 / 398.5 MB, free: 2.648 MB / 302.1 MB Notification: Performance of Templates: time 0.01011/0.3497, allocations: 5.91 MB / 404.4 MB, free: 15.29 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches