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.001776/0.001776, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002137/0.002137, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.016/2.016, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2526, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006204/0.2588, allocations: 5.074 MB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.2621, allocations: 2.156 MB / 417.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.2623, allocations: 16 kB / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.2652, allocations: 1.4 MB / 418.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000932/0.2662, allocations: 425.3 kB / 419 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.2683, allocations: 1.203 MB / 420.2 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008196/0.2691, allocations: 0.7394 MB / 420.9 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008708/0.27, allocations: 0.657 MB / 421.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.2704, allocations: 338.8 kB / 421.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004364/0.2708, allocations: 434.3 kB / 422.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-05/0.2709, allocations: 72 kB / 422.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007388/0.2717, allocations: 415.6 kB / 422.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.2718, allocations: 167.4 kB / 423 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.2721, allocations: 378.1 kB / 423.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.2733, allocations: 1.216 MB / 424.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2733, allocations: 4 kB / 424.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2733, allocations: 0 / 424.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2734, allocations: 0 / 424.6 MB, free: 2.895 MB / 334.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.004226/0.2776, allocations: 1.459 MB / 426 MB, free: 1.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2776, allocations: 8.031 kB / 426.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/0.2803, allocations: 379.7 kB / 426.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.2805, allocations: 271.2 kB / 426.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.2806, allocations: 62.38 kB / 426.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.2808, allocations: 84.38 kB / 426.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.2824, allocations: 0.8796 MB / 427.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.2825, allocations: 0 / 427.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.2826, allocations: 32 kB / 427.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.2826, allocations: 24 kB / 427.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.2844, allocations: 0.7964 MB / 428.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/0.2888, allocations: 3.028 MB / 431.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.29, allocations: 0.9846 MB / 432.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/0.2906, allocations: 246.4 kB / 432.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.2907, allocations: 170.8 kB / 433 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.2908, allocations: 43.12 kB / 433 MB, free: 9.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.465e-06/0.2908, allocations: 0 / 433 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00739/0.2982, allocations: 2.4 MB / 435.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.2984, allocations: 85.67 kB / 435.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.2988, allocations: 312.4 kB / 435.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.2988, allocations: 37.7 kB / 435.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.2991, allocations: 366.5 kB / 436.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.2993, allocations: 209 kB / 436.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.2996, allocations: 146.5 kB / 436.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2997, allocations: 354.7 kB / 436.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007974/0.3005, allocations: 269.8 kB / 437.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.3015, allocations: 0.512 MB / 437.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.3033, allocations: 0.8076 MB / 438.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3033, allocations: 0 / 438.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002026/0.3053, allocations: 0.8981 MB / 439.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.3054, allocations: 15.34 kB / 439.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3054, allocations: 8 kB / 439.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.3056, allocations: 77.66 kB / 439.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.3065, allocations: 203.7 kB / 439.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.3091, allocations: 2.86 MB / 442.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008806/0.31, allocations: 60.08 kB / 442.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.561e-05/0.3101, allocations: 39.98 kB / 442.6 MB, free: 15.7 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003907/0.3105, allocations: 213.5 kB / 442.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.3107, allocations: 51.41 kB / 442.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/0.3135, allocations: 0.7351 MB / 443.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.3136, allocations: 12 kB / 443.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3136, allocations: 0 / 443.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3136, allocations: 7.922 kB / 443.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004394/0.318, allocations: 1.417 MB / 445.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.318, allocations: 0 / 445.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009692/0.319, allocations: 139.8 kB / 445.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002937/0.3193, allocations: 53.67 kB / 445.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/0.3194, allocations: 15.98 kB / 445.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.3221, allocations: 2.849 MB / 448.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3222, allocations: 0 / 448.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.3248, allocations: 1.083 MB / 449.2 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.325, allocations: 160.6 kB / 449.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.3251, allocations: 12 kB / 449.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/0.3256, allocations: 51.88 kB / 449.4 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3257, allocations: 40.5 kB / 449.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.3258, allocations: 19.98 kB / 449.5 MB, free: 8.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000249/0.326, allocations: 223.1 kB / 449.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.326, allocations: 3.938 kB / 449.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007548/0.3268, allocations: 176 kB / 449.9 MB, free: 8.047 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002926/0.3271, allocations: 167.2 kB / 450 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.3291, allocations: 0.9202 MB / 451 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3291, allocations: 0 / 451 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009943/0.3301, allocations: 0.5473 MB / 451.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.3306, allocations: 56.33 kB / 451.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.3333, allocations: 1.259 MB / 452.8 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.3338, allocations: 0.881 MB / 453.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.334, allocations: 59.41 kB / 453.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3341, allocations: 0 / 453.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of Templates: time 0.01559/0.3496, allocations: 13.35 MB / 467.1 MB, free: 6.707 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches