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.001557/0.001557, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 60.16 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1036, allocations: 50.54 MB / 357.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004314/0.108, allocations: 2.879 MB / 360.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1094, allocations: 0.7906 MB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1095, allocations: 4 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1098, allocations: 55.61 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.1101, allocations: 83.42 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1103, allocations: 95.86 kB / 361.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.1107, allocations: 398.5 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.1109, allocations: 130.9 kB / 362.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.1112, allocations: 163.4 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.1114, allocations: 175.2 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.1115, allocations: 32 kB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.1115, allocations: 36 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.1116, allocations: 75.69 kB / 362.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1118, allocations: 183.1 kB / 362.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.112, allocations: 307.5 kB / 363 MB, free: 9.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1121, allocations: 0 / 363 MB, free: 9.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1121, allocations: 4 kB / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1121, allocations: 0 / 363 MB, free: 9.008 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.001215/0.1133, allocations: 0.6471 MB / 363.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1134, allocations: 11.97 kB / 363.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.1134, allocations: 40.47 kB / 363.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1138, allocations: 287.3 kB / 364 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.1138, allocations: 21.03 kB / 364 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.1138, allocations: 36.38 kB / 364.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.1144, allocations: 290.4 kB / 364.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1145, allocations: 0 / 364.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.1145, allocations: 12 kB / 364.4 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1145, allocations: 8 kB / 364.4 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.1152, allocations: 258.4 kB / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1168, allocations: 1.116 MB / 365.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.1172, allocations: 162.5 kB / 365.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.1174, allocations: 67.95 kB / 366 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1175, allocations: 0 / 366 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1175, allocations: 34.56 kB / 366 MB, free: 5.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.1175, allocations: 0 / 366 MB, free: 5.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002079/0.1196, allocations: 0.6013 MB / 366.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1196, allocations: 51.41 kB / 366.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.1199, allocations: 286.9 kB / 366.9 MB, free: 4.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.12, allocations: 29.7 kB / 367 MB, free: 4.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1201, allocations: 227.5 kB / 367.2 MB, free: 4.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.1202, allocations: 86.78 kB / 367.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1203, allocations: 61.59 kB / 367.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1204, allocations: 338.8 kB / 367.6 MB, free: 4.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.1207, allocations: 95.94 kB / 367.7 MB, free: 4.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.1211, allocations: 196 kB / 367.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/0.1217, allocations: 303 kB / 368.2 MB, free: 3.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1217, allocations: 0 / 368.2 MB, free: 3.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008492/0.1225, allocations: 393.3 kB / 368.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1226, allocations: 15.92 kB / 368.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1226, allocations: 0 / 368.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.1228, allocations: 65.62 kB / 368.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.1232, allocations: 71.89 kB / 368.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1797/0.303, allocations: 2.832 MB / 371.6 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.3035, allocations: 19.38 kB / 371.6 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.3036, allocations: 13.78 kB / 371.6 MB, free: 19.26 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.0002306/0.3038, allocations: 158.8 kB / 371.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.3039, allocations: 25.41 kB / 371.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.879e-05/0.304, allocations: 33.16 kB / 371.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.304, allocations: 3.203 kB / 371.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.304, allocations: 1.438 kB / 371.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.304, allocations: 3.703 kB / 371.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.3045, allocations: 332.8 kB / 372.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3045, allocations: 0 / 372.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.3048, allocations: 43.23 kB / 372.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.305, allocations: 54.84 kB / 372.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.305, allocations: 6.922 kB / 372.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.3067, allocations: 2.83 MB / 375.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3067, allocations: 0 / 375.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/0.3075, allocations: 376.4 kB / 375.5 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.3075, allocations: 104.1 kB / 375.6 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.3076, allocations: 9.844 kB / 375.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.3078, allocations: 19.28 kB / 375.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.3079, allocations: 20.98 kB / 375.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3079, allocations: 3.625 kB / 375.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.3082, allocations: 201 kB / 375.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3082, allocations: 0 / 375.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.3086, allocations: 72.06 kB / 375.9 MB, free: 15.95 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.0001475/0.3088, allocations: 112.1 kB / 376 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.3099, allocations: 489.4 kB / 376.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3099, allocations: 1 kB / 376.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004908/0.3104, allocations: 350.8 kB / 376.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.3108, allocations: 31.25 kB / 376.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3121, allocations: 0.7258 MB / 377.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3125, allocations: 0.78 MB / 378.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3126, allocations: 23.88 kB / 378.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3126, allocations: 0 / 378.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01031/0.323, allocations: 6.093 MB / 384.5 MB, free: 13.25 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.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