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.0009911/0.0009911, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001029/0.001029, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 60.25 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1086, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004255/0.1129, allocations: 2.843 MB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1143, allocations: 0.7944 MB / 362.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.1144, allocations: 4 kB / 362.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1147, allocations: 67.38 kB / 362.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.115, allocations: 99.17 kB / 362.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.1152, allocations: 111.8 kB / 362.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.1156, allocations: 398.5 kB / 363.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.1158, allocations: 130.9 kB / 363.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.1161, allocations: 163.4 kB / 363.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1163, allocations: 179.2 kB / 363.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.1163, allocations: 32 kB / 363.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.141e-05/0.1164, allocations: 32 kB / 363.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.1165, allocations: 83.62 kB / 363.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.1166, allocations: 179.1 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.117, allocations: 402.5 kB / 364.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.117, allocations: 3.938 kB / 364.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.117, allocations: 0 / 364.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.117, allocations: 0 / 364.4 MB, free: 7.801 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.001122/0.1181, allocations: 0.647 MB / 365 MB, free: 7.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1182, allocations: 12.03 kB / 365 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.1183, allocations: 36.47 kB / 365.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.1186, allocations: 283.3 kB / 365.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.1187, allocations: 29.03 kB / 365.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.1187, allocations: 32.38 kB / 365.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.1193, allocations: 294.3 kB / 365.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1193, allocations: 3.984 kB / 365.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1194, allocations: 12 kB / 365.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1194, allocations: 8 kB / 365.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.12, allocations: 254.5 kB / 366 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.1216, allocations: 1.108 MB / 367.1 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.122, allocations: 170.4 kB / 367.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.1222, allocations: 60.83 kB / 367.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1222, allocations: 4 kB / 367.3 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1222, allocations: 34.56 kB / 367.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.1222, allocations: 4 kB / 367.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001951/0.1242, allocations: 0.5892 MB / 367.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1243, allocations: 63.39 kB / 368 MB, free: 3.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.1246, allocations: 282.9 kB / 368.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1246, allocations: 29.7 kB / 368.3 MB, free: 3.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1247, allocations: 231.5 kB / 368.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.1248, allocations: 78.86 kB / 368.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.1249, allocations: 65.59 kB / 368.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.125, allocations: 334.8 kB / 369 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.1253, allocations: 95.94 kB / 369.1 MB, free: 2.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.1256, allocations: 207.8 kB / 369.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005712/0.1262, allocations: 302.8 kB / 369.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1262, allocations: 0 / 369.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008186/0.127, allocations: 393.2 kB / 370 MB, free: 1.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1271, allocations: 8 kB / 370 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1271, allocations: 0 / 370 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.1273, allocations: 65.77 kB / 370.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.1277, allocations: 71.89 kB / 370.1 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1818/0.3094, allocations: 2.834 MB / 373 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.3099, allocations: 20.11 kB / 373 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.3099, allocations: 18.09 kB / 373 MB, free: 18.6 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.0001521/0.31, allocations: 150.3 kB / 373.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.3101, allocations: 27.34 kB / 373.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.3102, allocations: 33.34 kB / 373.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3102, allocations: 2.75 kB / 373.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3102, allocations: 1.562 kB / 373.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3102, allocations: 5.188 kB / 373.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.3106, allocations: 344.3 kB / 373.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3106, allocations: 0 / 373.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.3108, allocations: 40.47 kB / 373.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/0.311, allocations: 57.64 kB / 373.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.3111, allocations: 1.906 kB / 373.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.3125, allocations: 2.831 MB / 376.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3125, allocations: 0.7812 kB / 376.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/0.3132, allocations: 375.5 kB / 376.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.3133, allocations: 101.3 kB / 376.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.3133, allocations: 4.344 kB / 376.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3135, allocations: 18.22 kB / 377 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.3136, allocations: 18.47 kB / 377 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.3136, allocations: 5.062 kB / 377 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.3138, allocations: 204.9 kB / 377.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3138, allocations: 5.406 kB / 377.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.3142, allocations: 75.12 kB / 377.3 MB, free: 15.28 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.0001175/0.3143, allocations: 101.5 kB / 377.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008777/0.3152, allocations: 482.5 kB / 377.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3152, allocations: 7.422 kB / 377.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.3157, allocations: 342.2 kB / 378.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.316, allocations: 32.95 kB / 378.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3171, allocations: 0.5583 MB / 378.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.3173, allocations: 0.7746 MB / 379.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.3175, allocations: 25.83 kB / 379.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.3175, allocations: 25.28 kB / 379.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3176, allocations: 0 / 379.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Templates: time 0.006922/0.3245, allocations: 2.772 MB / 382.4 MB, free: 13.6 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 -s cvode -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.0.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