Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008214/0.0008215, allocations: 90.72 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009496/0.0009497, allocations: 177 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002671, allocations: 11.94 kB / 301.4 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09644, allocations: 50.42 MB / 351.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003127/0.09962, allocations: 2.502 MB / 354.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.101, allocations: 0.7323 MB / 355.1 MB, free: 228 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.1012, allocations: 8 kB / 355.1 MB, free: 220 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1015, allocations: 55.61 kB / 355.1 MB, free: 164 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.1019, allocations: 79.44 kB / 355.2 MB, free: 84 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.1022, allocations: 91.94 kB / 355.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.1027, allocations: 382.4 kB / 355.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.1029, allocations: 115.5 kB / 355.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.1032, allocations: 131.4 kB / 355.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.1034, allocations: 159.2 kB / 356.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.1035, allocations: 16 kB / 356.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.1035, allocations: 20 kB / 356.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.1036, allocations: 63.69 kB / 356.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.1038, allocations: 184.8 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.1041, allocations: 382.7 kB / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1041, allocations: 0 / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1041, allocations: 0 / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1041, allocations: 0 / 356.7 MB, free: 14.55 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.001148/0.1053, allocations: 0.5966 MB / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1053, allocations: 12.03 kB / 357.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.1054, allocations: 40.47 kB / 357.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.1058, allocations: 280.4 kB / 357.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.1059, allocations: 21.03 kB / 357.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.1059, allocations: 36.31 kB / 357.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.1066, allocations: 302.3 kB / 358 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1066, allocations: 0 / 358 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.1066, allocations: 16 kB / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1067, allocations: 8 kB / 358 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.1073, allocations: 270.5 kB / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.1091, allocations: 1.12 MB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.1095, allocations: 165.6 kB / 359.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.1097, allocations: 76.8 kB / 359.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.1097, allocations: 8 kB / 359.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1097, allocations: 34.56 kB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.1098, allocations: 0 / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002235/0.112, allocations: 0.6797 MB / 360.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.112, allocations: 51.41 kB / 360.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.1123, allocations: 278.6 kB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1124, allocations: 25.7 kB / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1125, allocations: 231.5 kB / 360.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.1126, allocations: 78.94 kB / 361 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.1126, allocations: 29.7 kB / 361 MB, free: 9.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1128, allocations: 342.8 kB / 361.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.1131, allocations: 103.9 kB / 361.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.1135, allocations: 215.9 kB / 361.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.1142, allocations: 318.1 kB / 362 MB, free: 8.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.1142, allocations: 8 kB / 362 MB, free: 8.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009263/0.1151, allocations: 413 kB / 362.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1152, allocations: 12.27 kB / 362.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1152, allocations: 8 kB / 362.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002399/0.1154, allocations: 57.62 kB / 362.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.1158, allocations: 83.89 kB / 362.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.1176, allocations: 2.64 MB / 365.2 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.118, allocations: 32.05 kB / 365.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.118, allocations: 15.98 kB / 365.3 MB, free: 5.379 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.0001484/0.1181, allocations: 145.7 kB / 365.4 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.1182, allocations: 31.56 kB / 365.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.263e-05/0.1183, allocations: 34.17 kB / 365.5 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1183, allocations: 0 / 365.5 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1183, allocations: 4 kB / 365.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1183, allocations: 4 kB / 365.5 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.1187, allocations: 333.5 kB / 365.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1187, allocations: 0 / 365.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.1189, allocations: 43.97 kB / 365.8 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.1191, allocations: 61.61 kB / 365.9 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1191, allocations: 4 kB / 365.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.121, allocations: 2.636 MB / 368.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.121, allocations: 0 / 368.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.1218, allocations: 401.9 kB / 368.9 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.1219, allocations: 100.8 kB / 369 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.122, allocations: 4 kB / 369 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.1222, allocations: 24.17 kB / 369.1 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.1223, allocations: 15.97 kB / 369.1 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1223, allocations: 11.98 kB / 369.1 MB, free: 1.184 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.1225, allocations: 194 kB / 369.3 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1225, allocations: 0 / 369.3 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000404/0.1229, allocations: 76 kB / 369.3 MB, free: 0.918 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.0001087/0.123, allocations: 107.2 kB / 369.5 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009735/0.124, allocations: 0.4971 MB / 369.9 MB, free: 288 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.124, allocations: 0.8125 kB / 369.9 MB, free: 288 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1567/0.2808, allocations: 355.3 kB / 370.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.2813, allocations: 31.86 kB / 370.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2826, allocations: 0.7086 MB / 371 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.2828, allocations: 0.7835 MB / 371.8 MB, free: 23.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.283, allocations: 25.08 kB / 371.8 MB, free: 23.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.2831, allocations: 23.16 kB / 371.9 MB, free: 23.17 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2831, allocations: 0 / 371.9 MB, free: 23.17 MB / 302.1 MB Notification: Performance of Templates: time 0.006862/0.2899, allocations: 2.551 MB / 374.4 MB, free: 23.11 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches