Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008795/0.0008796, allocations: 104.4 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009483/0.0009484, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.7 MB / 246.4 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002031/0.0002031, allocations: 8 kB / 307.1 MB, free: 1.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.08544, allocations: 51.53 MB / 358.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004597/0.09008, allocations: 4.297 MB / 362.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.09292, allocations: 1.928 MB / 364.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.09315, allocations: 16 kB / 364.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.09366, allocations: 230.9 kB / 365.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008075/0.09448, allocations: 338.3 kB / 365.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.09626, allocations: 0.9881 MB / 366.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007281/0.097, allocations: 0.6764 MB / 367.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.09896, allocations: 1.117 MB / 368.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.09931, allocations: 275 kB / 368.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.09972, allocations: 362.6 kB / 368.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.09979, allocations: 43.88 kB / 368.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.1005, allocations: 355.7 kB / 369.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1006, allocations: 119.5 kB / 369.4 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1007, allocations: 153.3 kB / 369.5 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008959/0.1016, allocations: 0.8884 MB / 370.4 MB, free: 1.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1016, allocations: 3.938 kB / 370.4 MB, free: 1.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1016, allocations: 0 / 370.4 MB, free: 1.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1017, allocations: 0 / 370.4 MB, free: 1.789 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.00405/0.1057, allocations: 1.35 MB / 371.7 MB, free: 396 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1058, allocations: 12.03 kB / 371.8 MB, free: 384 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1541/0.2599, allocations: 386.6 kB / 372.1 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2601, allocations: 247.9 kB / 372.4 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.2603, allocations: 63.53 kB / 372.4 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.2605, allocations: 81.97 kB / 372.5 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.2623, allocations: 0.8809 MB / 373.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.2623, allocations: 1.656 kB / 373.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/0.2624, allocations: 34.62 kB / 373.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.2625, allocations: 21.12 kB / 373.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.2642, allocations: 0.8233 MB / 374.3 MB, free: 18.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003846/0.268, allocations: 3.047 MB / 377.3 MB, free: 16.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009698/0.269, allocations: 1.004 MB / 378.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.2695, allocations: 256.9 kB / 378.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.2696, allocations: 173.2 kB / 378.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2696, allocations: 44.23 kB / 378.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.314e-06/0.2697, allocations: 0 / 378.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006519/0.2762, allocations: 2.666 MB / 381.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.2762, allocations: 85.36 kB / 381.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.2765, allocations: 301 kB / 381.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.2765, allocations: 37.61 kB / 381.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.2767, allocations: 360.6 kB / 382.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.2768, allocations: 209.1 kB / 382.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.2768, allocations: 20.19 kB / 382.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.2769, allocations: 351.9 kB / 382.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.2776, allocations: 288.6 kB / 383.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.2784, allocations: 0.5231 MB / 383.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007407/0.2791, allocations: 352.3 kB / 383.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2791, allocations: 2.469 kB / 383.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001825/0.281, allocations: 0.9377 MB / 384.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.281, allocations: 12.7 kB / 384.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.281, allocations: 7.312 kB / 384.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.2812, allocations: 68.86 kB / 385 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/0.282, allocations: 211.2 kB / 385.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.2833, allocations: 2.667 MB / 387.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.2839, allocations: 71.02 kB / 387.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.284, allocations: 37.12 kB / 387.9 MB, free: 9.613 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.0002398/0.2842, allocations: 225.7 kB / 388.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.2843, allocations: 44.45 kB / 388.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.286, allocations: 0.7705 MB / 389 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.2861, allocations: 11.41 kB / 389 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2861, allocations: 4.984 kB / 389 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2861, allocations: 3.328 kB / 389 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.2885, allocations: 1.458 MB / 390.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2885, allocations: 3.984 kB / 390.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.2891, allocations: 144.9 kB / 390.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001455/0.2892, allocations: 54.09 kB / 390.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.2893, allocations: 15.61 kB / 390.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.2905, allocations: 2.649 MB / 393.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2905, allocations: 0 / 393.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.2927, allocations: 1.147 MB / 394.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.2928, allocations: 160.5 kB / 394.6 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.2929, allocations: 10.34 kB / 394.6 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.2934, allocations: 59.48 kB / 394.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.2935, allocations: 46.05 kB / 394.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.2935, allocations: 19.48 kB / 394.8 MB, free: 4.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.2937, allocations: 205.3 kB / 395 MB, free: 4.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2937, allocations: 6.516 kB / 395 MB, free: 4.855 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007441/0.2944, allocations: 172.8 kB / 395.1 MB, free: 4.832 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.0002227/0.2947, allocations: 167 kB / 395.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.2963, allocations: 0.9541 MB / 396.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2963, allocations: 1.375 kB / 396.3 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008649/0.2972, allocations: 0.5688 MB / 396.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.2976, allocations: 49.11 kB / 396.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.2998, allocations: 1.534 MB / 398.4 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3001, allocations: 0.8804 MB / 399.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004405/0.3006, allocations: 90.84 kB / 399.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3007, allocations: 48.3 kB / 399.4 MB, free: 2.02 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3007, allocations: 0 / 399.4 MB, free: 2.02 MB / 302.1 MB Notification: Performance of Templates: time 0.009831/0.3105, allocations: 5.789 MB / 405.2 MB, free: 14.19 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches