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.001252/0.001252, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001402, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001082, allocations: 58.22 kB / 306.9 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08901, allocations: 50.54 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006032/0.09508, allocations: 5.08 MB / 362.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.09828, allocations: 2.152 MB / 364.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.09855, allocations: 16 kB / 364.7 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.1014, allocations: 1.396 MB / 366.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009317/0.1024, allocations: 429.3 kB / 366.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.1045, allocations: 1.198 MB / 367.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007792/0.1053, allocations: 0.7356 MB / 368.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009411/0.1062, allocations: 0.6691 MB / 369.2 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.1067, allocations: 334.8 kB / 369.5 MB, free: 2.035 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.1072, allocations: 434.3 kB / 369.9 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.1073, allocations: 68 kB / 370 MB, free: 1.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007824/0.1081, allocations: 415.7 kB / 370.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.1083, allocations: 167.3 kB / 370.5 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.1086, allocations: 382.1 kB / 370.9 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1424/0.251, allocations: 1.193 MB / 372.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2511, allocations: 0.9688 kB / 372.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2511, allocations: 0 / 372.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.2511, allocations: 0 / 372.1 MB, free: 11.7 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.004313/0.2554, allocations: 1.47 MB / 373.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2555, allocations: 10.38 kB / 373.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.2581, allocations: 384.7 kB / 374 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.2583, allocations: 269.5 kB / 374.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.2583, allocations: 63.59 kB / 374.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.2584, allocations: 81.22 kB / 374.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.2601, allocations: 0.8777 MB / 375.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.2601, allocations: 1.406 kB / 375.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.2602, allocations: 33.38 kB / 375.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.2602, allocations: 21.39 kB / 375.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.2619, allocations: 0.8037 MB / 376.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.2659, allocations: 3.037 MB / 379.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.2669, allocations: 1.005 MB / 380.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.2675, allocations: 240.4 kB / 380.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.2676, allocations: 179 kB / 380.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2676, allocations: 38.03 kB / 380.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.284e-06/0.2676, allocations: 1.219 kB / 380.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007012/0.2746, allocations: 2.396 MB / 383 MB, free: 7.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.2747, allocations: 85.56 kB / 383.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.2751, allocations: 323.6 kB / 383.4 MB, free: 7.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.2751, allocations: 36.14 kB / 383.4 MB, free: 7.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.2753, allocations: 364 kB / 383.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.2754, allocations: 205.1 kB / 384 MB, free: 6.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.2756, allocations: 146.9 kB / 384.1 MB, free: 6.516 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.2757, allocations: 347.8 kB / 384.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007777/0.2765, allocations: 276 kB / 384.7 MB, free: 6.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/0.2774, allocations: 0.5051 MB / 385.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.279, allocations: 0.8086 MB / 386 MB, free: 5.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2791, allocations: 2.531 kB / 386 MB, free: 5.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002155/0.2812, allocations: 0.8983 MB / 386.9 MB, free: 4.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.2813, allocations: 12.38 kB / 387 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.2813, allocations: 10.75 kB / 387 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/0.2815, allocations: 77.05 kB / 387 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/0.2824, allocations: 196.1 kB / 387.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.2837, allocations: 2.872 MB / 390.1 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.2844, allocations: 62.94 kB / 390.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.2845, allocations: 33.42 kB / 390.2 MB, free: 1.98 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.0002587/0.2848, allocations: 223.4 kB / 390.4 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.2849, allocations: 39.94 kB / 390.5 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.2866, allocations: 0.7443 MB / 391.2 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.2867, allocations: 6.5 kB / 391.2 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.2867, allocations: 3.828 kB / 391.2 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2867, allocations: 2.766 kB / 391.2 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.2892, allocations: 1.419 MB / 392.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2892, allocations: 5.438 kB / 392.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.2898, allocations: 128.4 kB / 392.8 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.29, allocations: 66.36 kB / 392.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.2901, allocations: 18.41 kB / 392.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.2918, allocations: 2.84 MB / 395.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2918, allocations: 1.156 kB / 395.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.2943, allocations: 1.079 MB / 396.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.2945, allocations: 161.9 kB / 396.9 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.2946, allocations: 19.12 kB / 396.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.2951, allocations: 54.16 kB / 397 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.2952, allocations: 43.86 kB / 397 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.2953, allocations: 23.53 kB / 397.1 MB, free: 13.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.2955, allocations: 221.7 kB / 397.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2955, allocations: 0 / 397.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007506/0.2962, allocations: 174.8 kB / 397.5 MB, free: 13.05 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.0002389/0.2965, allocations: 169.2 kB / 397.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.2986, allocations: 0.9321 MB / 398.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2986, allocations: 4.156 kB / 398.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009801/0.2996, allocations: 0.5543 MB / 399.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.3, allocations: 52.62 kB / 399.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.3025, allocations: 1.238 MB / 400.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3029, allocations: 0.8863 MB / 401.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004413/0.3034, allocations: 85.34 kB / 401.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3035, allocations: 49.17 kB / 401.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3036, allocations: 0 / 401.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of Templates: time 0.01123/0.3148, allocations: 6.452 MB / 407.9 MB, free: 5.973 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