Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001872, allocations: 59.36 kB / 307.1 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1046, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00438/0.1091, allocations: 2.887 MB / 360.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1105, allocations: 0.7906 MB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1107, allocations: 11.88 kB / 361.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.1109, allocations: 47.67 kB / 361.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.1112, allocations: 87.38 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1115, allocations: 91.91 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.1119, allocations: 394.5 kB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.1121, allocations: 134.9 kB / 362.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.1124, allocations: 163.4 kB / 362.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1127, allocations: 175.2 kB / 362.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.1127, allocations: 32 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.472e-05/0.1128, allocations: 36 kB / 362.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.1129, allocations: 87.62 kB / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.1131, allocations: 175.1 kB / 362.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.1134, allocations: 307.5 kB / 363.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1134, allocations: 4 kB / 363.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1134, allocations: 0 / 363.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1134, allocations: 0 / 363.1 MB, free: 8.969 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00128/0.1147, allocations: 0.6471 MB / 363.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1148, allocations: 8.031 kB / 363.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.1148, allocations: 44.41 kB / 363.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.1152, allocations: 279.3 kB / 364 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.1152, allocations: 29.03 kB / 364.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.1153, allocations: 28.38 kB / 364.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.1159, allocations: 298.3 kB / 364.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.116, allocations: 0 / 364.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.116, allocations: 15.94 kB / 364.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.116, allocations: 8 kB / 364.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.1167, allocations: 250.5 kB / 364.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.1186, allocations: 1.116 MB / 365.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.119, allocations: 162.4 kB / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.1193, allocations: 68.81 kB / 366 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.1193, allocations: 7.938 kB / 366 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1193, allocations: 34.56 kB / 366 MB, free: 5.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.1193, allocations: 0 / 366 MB, free: 5.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002106/0.1215, allocations: 0.5927 MB / 366.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1215, allocations: 51.41 kB / 366.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.1218, allocations: 290.9 kB / 367 MB, free: 4.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1219, allocations: 25.7 kB / 367 MB, free: 4.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1221, allocations: 227.5 kB / 367.2 MB, free: 4.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.706e-05/0.1221, allocations: 82.83 kB / 367.3 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1223, allocations: 69.61 kB / 367.4 MB, free: 4.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1224, allocations: 334.8 kB / 367.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.1227, allocations: 95.92 kB / 367.8 MB, free: 3.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.1231, allocations: 196 kB / 368 MB, free: 3.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.1238, allocations: 303 kB / 368.3 MB, free: 3.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1238, allocations: 0 / 368.3 MB, free: 3.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000917/0.1247, allocations: 396.9 kB / 368.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1248, allocations: 8.406 kB / 368.7 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1248, allocations: 7.938 kB / 368.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.125, allocations: 61.67 kB / 368.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.1254, allocations: 75.89 kB / 368.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1504/0.2758, allocations: 2.83 MB / 371.6 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.2762, allocations: 27.05 kB / 371.7 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.2763, allocations: 13.88 kB / 371.7 MB, free: 19.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001696/0.2764, allocations: 148.8 kB / 371.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.2765, allocations: 26.75 kB / 371.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.535e-05/0.2766, allocations: 30.98 kB / 371.9 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.2766, allocations: 7.016 kB / 371.9 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2766, allocations: 2.25 kB / 371.9 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2766, allocations: 0.75 kB / 371.9 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.277, allocations: 334.6 kB / 372.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.277, allocations: 1.031 kB / 372.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.2773, allocations: 38.41 kB / 372.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.2775, allocations: 59.09 kB / 372.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2775, allocations: 4.656 kB / 372.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.2789, allocations: 2.839 MB / 375.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2789, allocations: 0 / 375.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/0.2796, allocations: 371.8 kB / 375.5 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.2797, allocations: 106.6 kB / 375.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.2797, allocations: 4.375 kB / 375.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.2799, allocations: 16.7 kB / 375.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.28, allocations: 23.3 kB / 375.7 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.28, allocations: 4.406 kB / 375.7 MB, free: 16.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.2802, allocations: 203.2 kB / 375.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2802, allocations: 0 / 375.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004259/0.2807, allocations: 74.59 kB / 375.9 MB, free: 15.94 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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.0001233/0.2808, allocations: 105 kB / 376 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009452/0.2817, allocations: 495 kB / 376.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2818, allocations: 0 / 376.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.2822, allocations: 349.1 kB / 376.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.2827, allocations: 27.19 kB / 376.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2838, allocations: 0.7281 MB / 377.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.2842, allocations: 0.7803 MB / 378.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2843, allocations: 28.62 kB / 378.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2843, allocations: 3.688 kB / 378.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.008677/0.293, allocations: 6.08 MB / 384.5 MB, free: 13.22 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches