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.001039/0.001039, allocations: 92.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002143/0.0002144, allocations: 7.984 kB / 307.8 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09114, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005539/0.09671, allocations: 4.609 MB / 363.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.1011, allocations: 2.102 MB / 366 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.1016, allocations: 16 kB / 366 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007954/0.1024, allocations: 298.8 kB / 366.3 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.1036, allocations: 374.2 kB / 366.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.1058, allocations: 1.162 MB / 367.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008293/0.1066, allocations: 0.7043 MB / 368.5 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.1087, allocations: 1.237 MB / 369.8 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.1092, allocations: 282.8 kB / 370 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.1096, allocations: 378.4 kB / 370.4 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.537e-05/0.1096, allocations: 40 kB / 370.5 MB, free: 2.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008018/0.1105, allocations: 379.6 kB / 370.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1106, allocations: 131.4 kB / 370.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.1109, allocations: 359.8 kB / 371.3 MB, free: 1.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.112, allocations: 1.156 MB / 372.5 MB, free: 40 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.112, allocations: 0 / 372.5 MB, free: 40 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1121, allocations: 0 / 372.5 MB, free: 40 kB / 302.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1121, allocations: 3.938 kB / 372.5 MB, free: 36 kB / 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.1567/0.2687, allocations: 1.343 MB / 373.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2688, allocations: 13.53 kB / 373.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.2715, allocations: 390.6 kB / 374.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.2718, allocations: 252.9 kB / 374.4 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/0.2719, allocations: 64.7 kB / 374.5 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.272, allocations: 85.12 kB / 374.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.2738, allocations: 0.888 MB / 375.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.2739, allocations: 2.281 kB / 375.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/0.274, allocations: 39 kB / 375.5 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.274, allocations: 23.52 kB / 375.5 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.2758, allocations: 0.8325 MB / 376.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.2799, allocations: 3.044 MB / 379.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.281, allocations: 1.016 MB / 380.4 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.2815, allocations: 249 kB / 380.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.2816, allocations: 182.3 kB / 380.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2816, allocations: 38.48 kB / 380.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.044e-06/0.2817, allocations: 0 / 380.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007272/0.2889, allocations: 2.676 MB / 383.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.289, allocations: 89.06 kB / 383.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.2893, allocations: 315.8 kB / 384 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.2893, allocations: 36.08 kB / 384 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.2895, allocations: 372.2 kB / 384.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.2896, allocations: 208 kB / 384.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.2897, allocations: 63.95 kB / 384.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.183e-05/0.2898, allocations: 348.4 kB / 385 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.2905, allocations: 296.2 kB / 385.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008414/0.2914, allocations: 0.5281 MB / 385.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.293, allocations: 0.86 MB / 386.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.293, allocations: 2.156 kB / 386.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00206/0.2951, allocations: 0.9445 MB / 387.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.2951, allocations: 9.578 kB / 387.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2951, allocations: 6.719 kB / 387.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.2954, allocations: 74.41 kB / 387.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.2962, allocations: 208.7 kB / 387.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.2975, allocations: 2.669 MB / 390.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/0.2982, allocations: 77.5 kB / 390.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.2983, allocations: 38.03 kB / 390.7 MB, free: 9.328 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 (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.0002827/0.2986, allocations: 218.7 kB / 390.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.2987, allocations: 42.41 kB / 390.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.3006, allocations: 0.7964 MB / 391.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3006, allocations: 6.375 kB / 391.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3006, allocations: 1.125 kB / 391.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3006, allocations: 4.828 kB / 391.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.3031, allocations: 1.463 MB / 393.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3031, allocations: 1.031 kB / 393.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.3038, allocations: 144.5 kB / 393.3 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.3039, allocations: 60.83 kB / 393.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.304, allocations: 19.2 kB / 393.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.3052, allocations: 2.642 MB / 396.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3053, allocations: 5.188 kB / 396.1 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.3076, allocations: 1.147 MB / 397.2 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.3078, allocations: 174.6 kB / 397.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.087e-05/0.3079, allocations: 11.69 kB / 397.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.3084, allocations: 59.58 kB / 397.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3085, allocations: 44.83 kB / 397.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.3085, allocations: 15.88 kB / 397.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3087, allocations: 220.6 kB / 397.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3087, allocations: 0 / 397.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007497/0.3095, allocations: 180.3 kB / 397.9 MB, free: 4.152 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 (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.0002163/0.3097, allocations: 166.5 kB / 398.1 MB, free: 4.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.3116, allocations: 0.9591 MB / 399 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3116, allocations: 448 / 399 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008459/0.3124, allocations: 0.5738 MB / 399.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3128, allocations: 50.77 kB / 399.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.3151, allocations: 1.629 MB / 401.3 MB, free: 1.922 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3154, allocations: 0.8832 MB / 402.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.3159, allocations: 88.09 kB / 402.2 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.316, allocations: 47.08 kB / 402.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.316, allocations: 7.938 kB / 402.3 MB, free: 1.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01055/0.3266, allocations: 5.992 MB / 408.3 MB, free: 11.73 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","/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