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.001098/0.001098, allocations: 121.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 203.8 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2377, allocations: 50.54 MB / 409.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006214/0.244, allocations: 5.082 MB / 414.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.2474, allocations: 2.148 MB / 416.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.2478, allocations: 16 kB / 416.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.2508, allocations: 1.411 MB / 417.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009367/0.2517, allocations: 417.4 kB / 418.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.2539, allocations: 1.202 MB / 419.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007462/0.2547, allocations: 0.7395 MB / 420.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008728/0.2556, allocations: 0.657 MB / 420.9 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.2559, allocations: 334.8 kB / 421.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004453/0.2564, allocations: 434.3 kB / 421.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.116e-05/0.2565, allocations: 68 kB / 421.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007275/0.2572, allocations: 419.6 kB / 422.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2574, allocations: 163.4 kB / 422.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.2577, allocations: 382.1 kB / 422.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.2589, allocations: 1.216 MB / 423.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2589, allocations: 4 kB / 423.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2589, allocations: 4 kB / 423.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2589, allocations: 0 / 423.9 MB, free: 2.914 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.00433/0.2632, allocations: 1.458 MB / 425.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.2633, allocations: 12.03 kB / 425.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.266, allocations: 379.6 kB / 425.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.2662, allocations: 275.2 kB / 426 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/0.2663, allocations: 62.38 kB / 426.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.2664, allocations: 88.31 kB / 426.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.268, allocations: 0.8757 MB / 427 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.268, allocations: 0 / 427 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.2681, allocations: 36 kB / 427.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.2682, allocations: 23.94 kB / 427.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.2699, allocations: 0.7964 MB / 427.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00406/0.274, allocations: 3.013 MB / 430.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.2752, allocations: 0.9963 MB / 431.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.2758, allocations: 242.4 kB / 432.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.2759, allocations: 178.8 kB / 432.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.276, allocations: 39.12 kB / 432.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.174e-06/0.276, allocations: 0 / 432.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007114/0.2831, allocations: 2.404 MB / 434.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.2832, allocations: 85.67 kB / 434.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.2835, allocations: 308.4 kB / 435.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.2835, allocations: 41.7 kB / 435.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.2837, allocations: 366.5 kB / 435.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.2839, allocations: 213 kB / 435.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.2841, allocations: 142.5 kB / 435.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2842, allocations: 354.7 kB / 436.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000739/0.285, allocations: 273.8 kB / 436.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008856/0.2858, allocations: 0.5043 MB / 437 MB, free: 5.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.2875, allocations: 0.8114 MB / 437.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2875, allocations: 0 / 437.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001998/0.2895, allocations: 0.8949 MB / 438.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2895, allocations: 11.94 kB / 438.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2895, allocations: 8 kB / 438.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.2897, allocations: 77.66 kB / 438.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008451/0.2906, allocations: 191.7 kB / 439 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.2925, allocations: 2.864 MB / 441.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.2931, allocations: 63.95 kB / 441.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.2932, allocations: 36.05 kB / 442 MB, free: 15.73 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.0002742/0.2935, allocations: 224.7 kB / 442.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.714e-05/0.2936, allocations: 47.41 kB / 442.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.2954, allocations: 0.7352 MB / 443 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2954, allocations: 8 kB / 443 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2954, allocations: 4 kB / 443 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2954, allocations: 3.938 kB / 443 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/0.298, allocations: 1.425 MB / 444.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.298, allocations: 0 / 444.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/0.2986, allocations: 127.8 kB / 444.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/0.2988, allocations: 57.67 kB / 444.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.2989, allocations: 15.98 kB / 444.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.3006, allocations: 2.853 MB / 447.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3007, allocations: 0 / 447.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.3031, allocations: 1.075 MB / 448.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.3033, allocations: 168.5 kB / 448.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.3034, allocations: 12 kB / 448.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.3039, allocations: 52 kB / 448.7 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.304, allocations: 44.5 kB / 448.8 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.304, allocations: 16 kB / 448.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.3043, allocations: 223 kB / 449 MB, free: 8.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3043, allocations: 0 / 449 MB, free: 8.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006411/0.3049, allocations: 180 kB / 449.2 MB, free: 8.066 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.0002491/0.3052, allocations: 171.1 kB / 449.4 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.3071, allocations: 0.9163 MB / 450.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3071, allocations: 0 / 450.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009459/0.3081, allocations: 0.5473 MB / 450.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3085, allocations: 45.02 kB / 450.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.311, allocations: 1.227 MB / 452.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.3114, allocations: 0.8849 MB / 453 MB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000371/0.3118, allocations: 84.52 kB / 453.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.312, allocations: 47.42 kB / 453.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of SimCode: time 2.104e-06/0.312, allocations: 3.938 kB / 453.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of Templates: time 0.01168/0.3237, allocations: 6.506 MB / 459.6 MB, free: 13.57 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/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