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.001071/0.001071, allocations: 115.8 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.001086/0.001086, allocations: 199.5 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.349/1.349, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 68.22 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09381, allocations: 50.52 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003855/0.0977, allocations: 2.847 MB / 361.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.09887, allocations: 0.7905 MB / 362.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.09901, allocations: 8 kB / 362.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.09921, allocations: 67.36 kB / 362.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.09947, allocations: 99.17 kB / 362.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.09974, allocations: 115.7 kB / 362.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.1001, allocations: 398.5 kB / 363.2 MB, free: 9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.1004, allocations: 138.8 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.1006, allocations: 159.4 kB / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1008, allocations: 175.2 kB / 363.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.1009, allocations: 32 kB / 363.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.736e-05/0.1009, allocations: 36 kB / 363.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.101, allocations: 83.67 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1011, allocations: 175.1 kB / 364 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.1015, allocations: 406.5 kB / 364.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1015, allocations: 11.88 kB / 364.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1015, allocations: 0 / 364.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1015, allocations: 0 / 364.4 MB, free: 7.809 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.001035/0.1025, allocations: 0.6432 MB / 365 MB, free: 7.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.1026, allocations: 8.031 kB / 365.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.1026, allocations: 40.47 kB / 365.1 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.103, allocations: 287.3 kB / 365.4 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.103, allocations: 25.03 kB / 365.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.1031, allocations: 28.38 kB / 365.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.1036, allocations: 290.4 kB / 365.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1036, allocations: 0 / 365.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.1036, allocations: 20 kB / 365.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1036, allocations: 8 kB / 365.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.1042, allocations: 250.5 kB / 366 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.1057, allocations: 1.108 MB / 367.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.106, allocations: 162.4 kB / 367.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.1062, allocations: 68.81 kB / 367.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1063, allocations: 4 kB / 367.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.1063, allocations: 34.56 kB / 367.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.1063, allocations: 0 / 367.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001765/0.1081, allocations: 0.5935 MB / 367.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.1081, allocations: 55.41 kB / 368 MB, free: 3.977 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.1084, allocations: 286.9 kB / 368.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1084, allocations: 29.7 kB / 368.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1085, allocations: 231.5 kB / 368.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.1086, allocations: 74.84 kB / 368.6 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/0.1087, allocations: 73.59 kB / 368.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.1088, allocations: 334.8 kB / 369 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.109, allocations: 91.94 kB / 369.1 MB, free: 2.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.1093, allocations: 207.8 kB / 369.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.1099, allocations: 302.8 kB / 369.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1099, allocations: 0 / 369.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007491/0.1107, allocations: 392.9 kB / 370 MB, free: 1.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1107, allocations: 8 kB / 370 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1107, allocations: 8.344 kB / 370 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.1109, allocations: 65.66 kB / 370.1 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.1112, allocations: 79.83 kB / 370.1 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1804/0.2916, allocations: 2.826 MB / 373 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.2921, allocations: 27.02 kB / 373 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.2922, allocations: 15.34 kB / 373 MB, free: 18.61 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.0002032/0.2924, allocations: 151 kB / 373.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.2925, allocations: 25.94 kB / 373.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.407e-05/0.2926, allocations: 32.45 kB / 373.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2926, allocations: 2.438 kB / 373.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2926, allocations: 2.125 kB / 373.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2927, allocations: 2.688 kB / 373.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.2931, allocations: 337.3 kB / 373.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2931, allocations: 0 / 373.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.2934, allocations: 40.88 kB / 373.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.2936, allocations: 57.59 kB / 373.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.2936, allocations: 6.031 kB / 373.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.295, allocations: 2.833 MB / 376.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.295, allocations: 1.359 kB / 376.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/0.2957, allocations: 372.4 kB / 376.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.2958, allocations: 101.8 kB / 376.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.2958, allocations: 8.312 kB / 377 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.2961, allocations: 17.78 kB / 377 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.2961, allocations: 18.62 kB / 377 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2962, allocations: 3.906 kB / 377 MB, free: 15.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.2964, allocations: 205.2 kB / 377.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2964, allocations: 0.7812 kB / 377.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003944/0.2968, allocations: 72.19 kB / 377.3 MB, free: 15.29 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.0001176/0.2969, allocations: 105.1 kB / 377.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008843/0.2978, allocations: 485.3 kB / 377.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2978, allocations: 7.422 kB / 377.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.2982, allocations: 341.7 kB / 378.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.2986, allocations: 32.45 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.001016/0.2996, allocations: 0.5527 MB / 378.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.2998, allocations: 0.7739 MB / 379.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.3, allocations: 28.06 kB / 379.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.3, allocations: 22.66 kB / 379.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3, allocations: 0 / 379.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of Templates: time 0.007264/0.3073, allocations: 2.78 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 gbode -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