Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 61.34 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08405/0.08525, allocations: 50.54 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004698/0.08998, allocations: 3.548 MB / 360.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.09169, allocations: 0.9542 MB / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.09199, allocations: 8 kB / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.0923, allocations: 79.45 kB / 361.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.09275, allocations: 135.1 kB / 361.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.09315, allocations: 143.8 kB / 361.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006378/0.0938, allocations: 0.6348 MB / 362.5 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.09409, allocations: 189.5 kB / 362.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.09438, allocations: 235 kB / 362.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.09468, allocations: 278.6 kB / 363.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.739e-05/0.09478, allocations: 52 kB / 363.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.289e-05/0.09487, allocations: 52 kB / 363.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.09497, allocations: 119.5 kB / 363.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.09523, allocations: 290.5 kB / 363.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.09576, allocations: 0.623 MB / 364.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.09577, allocations: 4 kB / 364.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09578, allocations: 3.938 kB / 364.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.0958, allocations: 4 kB / 364.3 MB, free: 7.051 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001601/0.09741, allocations: 0.8575 MB / 365.2 MB, free: 6.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.09745, allocations: 11.97 kB / 365.2 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.09756, allocations: 60.19 kB / 365.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.09799, allocations: 355.6 kB / 365.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.09804, allocations: 45.67 kB / 365.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.09812, allocations: 48.38 kB / 365.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008516/0.09898, allocations: 434.4 kB / 366.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.099, allocations: 4 kB / 366.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.09905, allocations: 24 kB / 366.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.09907, allocations: 12 kB / 366.1 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008486/0.09993, allocations: 393 kB / 366.5 MB, free: 4.738 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.1025, allocations: 1.585 MB / 368.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/0.1033, allocations: 413.3 kB / 368.5 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.1037, allocations: 177.4 kB / 368.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.1038, allocations: 8.328 kB / 368.7 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1038, allocations: 34.89 kB / 368.7 MB, free: 2.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.683e-06/0.1038, allocations: 0 / 368.7 MB, free: 2.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.003336/0.1071, allocations: 1.192 MB / 369.9 MB, free: 1.184 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1072, allocations: 59.97 kB / 370 MB, free: 1.113 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.1077, allocations: 409.5 kB / 370.4 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.1077, allocations: 37.7 kB / 370.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1079, allocations: 303.8 kB / 370.7 MB, free: 368 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.1081, allocations: 189.3 kB / 370.9 MB, free: 176 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.1082, allocations: 114.2 kB / 371 MB, free: 56 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.152/0.2602, allocations: 353.7 kB / 371.3 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/0.2608, allocations: 174.7 kB / 371.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.2614, allocations: 302 kB / 371.8 MB, free: 19.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/0.2623, allocations: 498.3 kB / 372.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2623, allocations: 0.875 kB / 372.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001516/0.2638, allocations: 0.7436 MB / 373 MB, free: 19.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2639, allocations: 6.688 kB / 373 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2639, allocations: 3.094 kB / 373 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.2644, allocations: 191.4 kB / 373.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.265, allocations: 108.9 kB / 373.3 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/0.2684, allocations: 4.266 MB / 377.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.2688, allocations: 31.64 kB / 377.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.2688, allocations: 27.56 kB / 377.7 MB, free: 15.93 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 (58): * Single equations (assignments): 56 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.269, allocations: 182.4 kB / 377.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.2691, allocations: 47.31 kB / 377.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.2692, allocations: 62.14 kB / 377.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2693, allocations: 9.188 kB / 378 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.2693, allocations: 4.125 kB / 378 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.2693, allocations: 2.531 kB / 378 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.2715, allocations: 1.313 MB / 379.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2715, allocations: 1.922 kB / 379.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.2718, allocations: 69.8 kB / 379.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/0.2722, allocations: 167.1 kB / 379.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.2722, allocations: 8.625 kB / 379.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002772/0.275, allocations: 4.106 MB / 383.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.275, allocations: 9.562 kB / 383.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.2762, allocations: 0.6966 MB / 384.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.2763, allocations: 125.8 kB / 384.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.2763, allocations: 12.23 kB / 384.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.2766, allocations: 23.92 kB / 384.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.2768, allocations: 49.2 kB / 384.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.2768, allocations: 14.41 kB / 384.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002805/0.2771, allocations: 283.4 kB / 384.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2771, allocations: 0 / 384.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006971/0.2778, allocations: 153.6 kB / 385 MB, free: 10.58 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/0.2779, allocations: 111.4 kB / 385.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.2794, allocations: 0.7985 MB / 385.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2794, allocations: 1.375 kB / 385.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.2801, allocations: 0.5289 MB / 386.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.2805, allocations: 46.03 kB / 386.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.2822, allocations: 1.199 MB / 387.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.2825, allocations: 0.859 MB / 388.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.2827, allocations: 51.34 kB / 388.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.2828, allocations: 30.03 kB / 388.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2828, allocations: 0 / 388.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of Templates: time 0.009332/0.2922, allocations: 4.975 MB / 393.6 MB, free: 7.113 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches