Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008573/0.0008573, allocations: 110.2 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002764, allocations: 4 kB / 357.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1864, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0878/0.2742, allocations: 81.79 MB / 491.2 MB, free: 8.816 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.2745, allocations: 83.95 kB / 491.3 MB, free: 8.734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02168/0.2962, allocations: 8.409 MB / 499.7 MB, free: 316 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2962, allocations: 0 / 499.7 MB, free: 316 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.2962, allocations: 8 kB / 499.7 MB, free: 308 kB / 362.7 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.001021/0.2973, allocations: 0.6049 MB / 0.4886 GB, free: 15.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2973, allocations: 8.031 kB / 0.4886 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.2974, allocations: 39.53 kB / 0.4886 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.2978, allocations: 264.1 kB / 0.4889 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.2978, allocations: 28.66 kB / 0.4889 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.2979, allocations: 39.94 kB / 0.4889 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.2984, allocations: 290 kB / 0.4892 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2985, allocations: 0 / 0.4892 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.2985, allocations: 12 kB / 0.4892 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2985, allocations: 8 kB / 0.4892 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006085/0.2991, allocations: 266.5 kB / 0.4895 GB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.3008, allocations: 1.131 MB / 0.4906 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.3011, allocations: 162.3 kB / 0.4908 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3012, allocations: 3.984 kB / 0.4908 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.3012, allocations: 30.56 kB / 0.4908 GB, free: 13.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.3012, allocations: 0 / 0.4908 GB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.002037/0.3033, allocations: 0.6814 MB / 0.4915 GB, free: 12.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.3033, allocations: 55.59 kB / 0.4915 GB, free: 12.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.3036, allocations: 245.7 kB / 0.4917 GB, free: 12.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3036, allocations: 29.7 kB / 0.4918 GB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3037, allocations: 219.5 kB / 0.492 GB, free: 11.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.3038, allocations: 82.89 kB / 0.4921 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.3038, allocations: 4 kB / 0.4921 GB, free: 11.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.3039, allocations: 338.8 kB / 0.4924 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.3042, allocations: 99.94 kB / 0.4925 GB, free: 11.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.3045, allocations: 208.2 kB / 0.4927 GB, free: 11.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.3049, allocations: 133.1 kB / 0.4928 GB, free: 11.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3049, allocations: 0 / 0.4928 GB, free: 11.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008391/0.3057, allocations: 417.5 kB / 0.4932 GB, free: 10.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3058, allocations: 8 kB / 0.4932 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3058, allocations: 0 / 0.4932 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.306, allocations: 61.67 kB / 0.4933 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.3063, allocations: 79.89 kB / 0.4933 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.3081, allocations: 2.656 MB / 0.4959 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.3084, allocations: 28.05 kB / 0.496 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.3085, allocations: 16 kB / 0.496 GB, free: 7.527 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.3086, allocations: 158.3 kB / 0.4961 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.3087, allocations: 27.7 kB / 0.4962 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.3087, allocations: 38.17 kB / 0.4962 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3087, allocations: 0 / 0.4962 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3088, allocations: 4 kB / 0.4962 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3088, allocations: 0 / 0.4962 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.3091, allocations: 333.5 kB / 0.4965 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3091, allocations: 3.953 kB / 0.4965 GB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.3093, allocations: 39.97 kB / 0.4966 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.3095, allocations: 57.67 kB / 0.4966 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.3095, allocations: 8 kB / 0.4966 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.3112, allocations: 2.651 MB / 0.4992 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3112, allocations: 0 / 0.4992 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.3119, allocations: 394.1 kB / 0.4996 GB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.312, allocations: 96.83 kB / 0.4997 GB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.312, allocations: 0 / 0.4997 GB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.3122, allocations: 31.97 kB / 0.4997 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.3123, allocations: 27.86 kB / 0.4997 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3123, allocations: 4 kB / 0.4997 GB, free: 3.305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001577/0.3125, allocations: 182 kB / 0.4999 GB, free: 3.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3125, allocations: 0 / 0.4999 GB, free: 3.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.3128, allocations: 72 kB / 0.5 GB, free: 3.059 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/0.313, allocations: 114.2 kB / 0.5001 GB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008851/0.3139, allocations: 0.4976 MB / 0.5006 GB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3139, allocations: 0 / 0.5006 GB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004839/0.3144, allocations: 357.6 kB / 0.5009 GB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.3146, allocations: 33.59 kB / 0.501 GB, free: 2.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009954/0.3156, allocations: 0.6678 MB / 0.5016 GB, free: 1.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.3159, allocations: 0.7906 MB / 0.5024 GB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.3161, allocations: 34.5 kB / 0.5024 GB, free: 480 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.3161, allocations: 19.44 kB / 0.5024 GB, free: 460 kB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3161, allocations: 0 / 0.5024 GB, free: 460 kB / 378.7 MB Notification: Performance of Templates: time 0.1644/0.4805, allocations: 2.488 MB / 0.5049 GB, free: 95.65 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches