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.001464/0.001464, allocations: 110.9 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.3 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.86 kB / 306.9 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08232/0.08359, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003719/0.08734, allocations: 2.89 MB / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.08852, allocations: 0.7944 MB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.08867, allocations: 4 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.08889, allocations: 55.62 kB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.08913, allocations: 83.42 kB / 361.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.08935, allocations: 87.92 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.08967, allocations: 382.5 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.08986, allocations: 111.6 kB / 361.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.0901, allocations: 155.3 kB / 362 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.09028, allocations: 167.2 kB / 362.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.09033, allocations: 24 kB / 362.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.09039, allocations: 24 kB / 362.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.09046, allocations: 63.7 kB / 362.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.09059, allocations: 171.1 kB / 362.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.09085, allocations: 307.5 kB / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.09086, allocations: 0 / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.09087, allocations: 0 / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.09088, allocations: 0 / 362.7 MB, free: 9.188 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.09203, allocations: 0.6471 MB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.09208, allocations: 8.031 kB / 363.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.09215, allocations: 40.47 kB / 363.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.09243, allocations: 283.3 kB / 363.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.09247, allocations: 29.03 kB / 363.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.09252, allocations: 28.38 kB / 363.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.09312, allocations: 294.3 kB / 364 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.09314, allocations: 4 kB / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.09318, allocations: 16 kB / 364.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.09319, allocations: 8 kB / 364.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/0.09381, allocations: 246.5 kB / 364.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.09544, allocations: 1.12 MB / 365.4 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.09583, allocations: 166.3 kB / 365.6 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.09602, allocations: 60.83 kB / 365.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.09606, allocations: 8 kB / 365.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.09608, allocations: 34.56 kB / 365.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.09609, allocations: 0 / 365.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002061/0.09816, allocations: 0.5901 MB / 366.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.0982, allocations: 55.41 kB / 366.3 MB, free: 5.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.09849, allocations: 286.9 kB / 366.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.09852, allocations: 25.7 kB / 366.6 MB, free: 5.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.09866, allocations: 231.5 kB / 366.9 MB, free: 4.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.09872, allocations: 82.78 kB / 367 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/0.09883, allocations: 69.59 kB / 367 MB, free: 4.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.09895, allocations: 338.8 kB / 367.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.09924, allocations: 91.94 kB / 367.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.09959, allocations: 200 kB / 367.6 MB, free: 3.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/0.1002, allocations: 303 kB / 367.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1002, allocations: 0 / 367.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008339/0.1011, allocations: 392.9 kB / 368.3 MB, free: 3.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1011, allocations: 8 kB / 368.3 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1011, allocations: 4 kB / 368.3 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.1013, allocations: 62.08 kB / 368.4 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.1017, allocations: 71.89 kB / 368.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.1035, allocations: 2.644 MB / 371.1 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.1038, allocations: 15.98 kB / 371.1 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.1039, allocations: 16 kB / 371.1 MB, free: 140 kB / 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.1364/0.2402, allocations: 150.4 kB / 371.3 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.2403, allocations: 28.66 kB / 371.3 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.522e-05/0.2404, allocations: 32 kB / 371.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2404, allocations: 2.859 kB / 371.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2404, allocations: 2.031 kB / 371.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2404, allocations: 1.781 kB / 371.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.2408, allocations: 330.5 kB / 371.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2408, allocations: 2.281 kB / 371.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.2411, allocations: 42.52 kB / 371.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/0.2413, allocations: 58.19 kB / 371.8 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2413, allocations: 8.062 kB / 371.8 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.2426, allocations: 2.631 MB / 374.4 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2426, allocations: 0.6094 kB / 374.4 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.2433, allocations: 380.3 kB / 374.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.2433, allocations: 100.1 kB / 374.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.2434, allocations: 4.562 kB / 374.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.2436, allocations: 19.97 kB / 374.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.2437, allocations: 21.16 kB / 374.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.2437, allocations: 6.219 kB / 374.9 MB, free: 17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.2439, allocations: 201.4 kB / 375.1 MB, free: 16.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2439, allocations: 7.766 kB / 375.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003937/0.2443, allocations: 73.25 kB / 375.2 MB, free: 16.91 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 8.608e-05/0.2444, allocations: 102.8 kB / 375.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008601/0.2452, allocations: 488.4 kB / 375.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2452, allocations: 0.9688 kB / 375.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.2457, allocations: 352.1 kB / 376.1 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2461, allocations: 23.66 kB / 376.1 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009648/0.247, allocations: 0.7193 MB / 376.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.2472, allocations: 0.7766 MB / 377.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.2473, allocations: 30.56 kB / 377.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2473, allocations: 0 / 377.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Templates: time 0.009557/0.2569, allocations: 6.078 MB / 383.8 MB, free: 14.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