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.001591/0.001591, allocations: 109.9 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001725/0.001725, allocations: 207.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 64.02 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.09021, allocations: 50.55 MB / 358.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006349/0.09659, allocations: 5.069 MB / 363.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.1001, allocations: 2.16 MB / 365.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.1004, allocations: 16 kB / 365.5 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.1034, allocations: 1.407 MB / 366.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.1045, allocations: 437.2 kB / 367.3 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.1067, allocations: 1.186 MB / 368.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008829/0.1076, allocations: 0.7472 MB / 369.2 MB, free: 3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009135/0.1085, allocations: 0.6653 MB / 369.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.1089, allocations: 326.8 kB / 370.2 MB, free: 2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.1094, allocations: 434.3 kB / 370.6 MB, free: 1.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.048e-05/0.1095, allocations: 68 kB / 370.7 MB, free: 1.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008194/0.1103, allocations: 419.6 kB / 371.1 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1105, allocations: 171.4 kB / 371.3 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.1108, allocations: 382.1 kB / 371.6 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1384/0.2492, allocations: 1.201 MB / 372.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2493, allocations: 1.031 kB / 372.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2493, allocations: 0 / 372.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.2493, allocations: 0 / 372.8 MB, free: 11.69 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.004225/0.2535, allocations: 1.467 MB / 374.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2536, allocations: 9.875 kB / 374.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/0.256, allocations: 362.5 kB / 374.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.2563, allocations: 265.1 kB / 374.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/0.2563, allocations: 67.27 kB / 375 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.2565, allocations: 82.31 kB / 375.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.2581, allocations: 0.8733 MB / 376 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.2581, allocations: 4.844 kB / 376 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.2582, allocations: 32.12 kB / 376 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.2582, allocations: 20.62 kB / 376 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.2598, allocations: 0.7966 MB / 376.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.2636, allocations: 3.04 MB / 379.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.2646, allocations: 0.9994 MB / 380.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/0.2651, allocations: 242.4 kB / 381.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.2652, allocations: 181 kB / 381.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.2652, allocations: 44.39 kB / 381.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.244e-06/0.2653, allocations: 0 / 381.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006599/0.2719, allocations: 2.395 MB / 383.7 MB, free: 7.324 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.2719, allocations: 83.97 kB / 383.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.2722, allocations: 319.8 kB / 384.1 MB, free: 7.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.2723, allocations: 37.02 kB / 384.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.2724, allocations: 363 kB / 384.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.2725, allocations: 206.4 kB / 384.7 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.2727, allocations: 148.8 kB / 384.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.2728, allocations: 347.3 kB / 385.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/0.2735, allocations: 274.1 kB / 385.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/0.2743, allocations: 0.4992 MB / 385.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.2757, allocations: 0.8098 MB / 386.7 MB, free: 5.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2757, allocations: 6.25 kB / 386.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001836/0.2776, allocations: 0.8972 MB / 387.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2776, allocations: 8.656 kB / 387.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2776, allocations: 7.656 kB / 387.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.2778, allocations: 77.58 kB / 387.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.2786, allocations: 202.8 kB / 387.9 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.2799, allocations: 2.87 MB / 390.8 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000609/0.2805, allocations: 55 kB / 390.9 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.2806, allocations: 40.41 kB / 390.9 MB, free: 1.953 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.0002482/0.2808, allocations: 219.6 kB / 391.1 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.2809, allocations: 39.84 kB / 391.2 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.2826, allocations: 0.7295 MB / 391.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2826, allocations: 5.875 kB / 391.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2826, allocations: 3.906 kB / 391.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2826, allocations: 9.5 kB / 391.9 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.285, allocations: 1.423 MB / 393.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.285, allocations: 1.094 kB / 393.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.2856, allocations: 129.2 kB / 393.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.2858, allocations: 59.61 kB / 393.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.2858, allocations: 20.33 kB / 393.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.2878, allocations: 2.853 MB / 396.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2878, allocations: 4.281 kB / 396.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.2902, allocations: 1.073 MB / 397.5 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.2904, allocations: 166.1 kB / 397.6 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.2905, allocations: 15.34 kB / 397.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.291, allocations: 43.16 kB / 397.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.2911, allocations: 53.25 kB / 397.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.2911, allocations: 20.16 kB / 397.8 MB, free: 13.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.2914, allocations: 220.2 kB / 398 MB, free: 13.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2914, allocations: 0 / 398 MB, free: 13.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008019/0.2922, allocations: 179.9 kB / 398.1 MB, free: 13.02 MB / 318.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.0002678/0.2925, allocations: 161.8 kB / 398.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.2946, allocations: 0.931 MB / 399.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2946, allocations: 0 / 399.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009778/0.2956, allocations: 0.5564 MB / 399.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.2961, allocations: 44.84 kB / 399.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.2986, allocations: 1.234 MB / 401.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.299, allocations: 0.882 MB / 402 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.2993, allocations: 63.03 kB / 402 MB, free: 10.46 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2993, allocations: 0 / 402 MB, free: 10.46 MB / 318.1 MB Notification: Performance of Templates: time 0.01527/0.3145, allocations: 13.24 MB / 415.3 MB, free: 15.2 MB / 334.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.1.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