Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 196.8 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, 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.0007857/0.0007856, allocations: 95.73 kB / 296.4 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002195/0.0002195, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2424, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004523/0.247, allocations: 5.737 MB / 413.2 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003209/0.2502, allocations: 2.223 MB / 415.5 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.2506, allocations: 20 kB / 415.5 MB, free: 19.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.2512, allocations: 286.5 kB / 415.8 MB, free: 19.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009029/0.2521, allocations: 441.6 kB / 416.2 MB, free: 19.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.2537, allocations: 1.089 MB / 417.3 MB, free: 18.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007005/0.2544, allocations: 1.031 MB / 418.3 MB, free: 17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.2564, allocations: 1.555 MB / 419.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.2568, allocations: 406.4 kB / 420.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.2572, allocations: 0.5291 MB / 420.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.819e-05/0.2573, allocations: 52 kB / 420.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007229/0.258, allocations: 379.6 kB / 421.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.2581, allocations: 183.2 kB / 421.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.2583, allocations: 217.1 kB / 421.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008646/0.2592, allocations: 1.247 MB / 422.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2592, allocations: 0 / 422.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2592, allocations: 0 / 422.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.2592, allocations: 4 kB / 422.9 MB, free: 12.42 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004998/0.2642, allocations: 1.85 MB / 424.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2642, allocations: 12.03 kB / 424.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/0.2674, allocations: 0.5176 MB / 425.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.2677, allocations: 293.6 kB / 425.5 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.2678, allocations: 102.5 kB / 425.6 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.268, allocations: 124 kB / 425.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.27, allocations: 1.307 MB / 427.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.27, allocations: 0 / 427.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.2701, allocations: 52 kB / 427.1 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.2702, allocations: 35.98 kB / 427.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.2722, allocations: 1.22 MB / 428.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005153/0.2774, allocations: 4.327 MB / 432.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.2794, allocations: 2.447 MB / 435.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009398/0.2804, allocations: 0.5041 MB / 435.6 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.2806, allocations: 187.2 kB / 435.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.2806, allocations: 55.55 kB / 435.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 3.126e-06/0.2806, allocations: 0 / 435.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.01115/0.2918, allocations: 4.042 MB / 439.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.2919, allocations: 90.11 kB / 440 MB, free: 10.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.2924, allocations: 397.3 kB / 440.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.311e-05/0.2924, allocations: 45.7 kB / 440.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.2927, allocations: 458.9 kB / 440.9 MB, free: 9.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.293, allocations: 417.8 kB / 441.3 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.2931, allocations: 36 kB / 441.3 MB, free: 9.113 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2933, allocations: 366.8 kB / 441.7 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.2943, allocations: 463.7 kB / 442.1 MB, free: 8.293 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.2956, allocations: 0.7075 MB / 442.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.2967, allocations: 0.5373 MB / 443.4 MB, free: 6.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.2968, allocations: 4 kB / 443.4 MB, free: 6.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002976/0.2997, allocations: 1.505 MB / 444.9 MB, free: 5.426 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.2998, allocations: 8 kB / 444.9 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2998, allocations: 4 kB / 444.9 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005361/0.3003, allocations: 201.5 kB / 445.1 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.3016, allocations: 299.6 kB / 445.4 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/0.3054, allocations: 3.966 MB / 449.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009058/0.3063, allocations: 91.91 kB / 449.5 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/0.3064, allocations: 55.98 kB / 449.5 MB, free: 0.5469 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004385/0.3069, allocations: 265.5 kB / 449.8 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.307, allocations: 67.2 kB / 449.8 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.31, allocations: 1.398 MB / 451.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3101, allocations: 12 kB / 451.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3101, allocations: 4 kB / 451.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.3101, allocations: 15.91 kB / 451.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004501/0.3146, allocations: 2.653 MB / 453.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3146, allocations: 0 / 453.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009884/0.3156, allocations: 231.8 kB / 454.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004057/0.316, allocations: 169.5 kB / 454.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.3161, allocations: 28.17 kB / 454.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/0.3195, allocations: 3.783 MB / 458.1 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3196, allocations: 0 / 458.1 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/0.3234, allocations: 1.941 MB / 460.1 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.3238, allocations: 220.3 kB / 460.3 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.649e-05/0.3238, allocations: 24 kB / 460.3 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.3245, allocations: 76 kB / 460.4 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.3247, allocations: 88.83 kB / 460.5 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.3248, allocations: 39.97 kB / 460.5 MB, free: 5.102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002721/0.3251, allocations: 263.2 kB / 460.8 MB, free: 4.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.774e-06/0.3251, allocations: 4 kB / 460.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000986/0.3261, allocations: 311.9 kB / 461.1 MB, free: 4.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002897/0.3264, allocations: 171.1 kB / 461.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002886/0.3293, allocations: 1.505 MB / 462.7 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3293, allocations: 0 / 462.7 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.3308, allocations: 0.8818 MB / 463.6 MB, free: 1.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.3312, allocations: 71.12 kB / 463.7 MB, free: 1.855 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.3352, allocations: 2.43 MB / 466.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.3358, allocations: 1.009 MB / 467.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.3361, allocations: 87.39 kB / 467.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3361, allocations: 4 kB / 467.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of Templates: time 0.02299/0.3591, allocations: 19.48 MB / 486.7 MB, free: 10.77 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches