Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 112.6 kB / 17.7 MB, free: 5.387 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.0009538/0.0009539, allocations: 182.9 kB / 18.63 MB, free: 4.461 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.184/1.184, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009558/0.0009558, allocations: 46.61 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07973/0.08071, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007318/0.08807, allocations: 6.448 MB / 358 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003969/0.09207, allocations: 2.554 MB / 360.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.09246, allocations: 20 kB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.09514, allocations: 1.268 MB / 361.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.09655, allocations: 0.6834 MB / 362.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.09854, allocations: 1.101 MB / 363.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.09985, allocations: 1.071 MB / 364.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.101, allocations: 0.9069 MB / 365.6 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004342/0.1015, allocations: 434.4 kB / 366 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.1021, allocations: 0.5407 MB / 366.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.1022, allocations: 100 kB / 366.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007016/0.1029, allocations: 407.6 kB / 367 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.1031, allocations: 235.1 kB / 367.2 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.1035, allocations: 0.5131 MB / 367.8 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.105, allocations: 1.507 MB / 369.3 MB, free: 1.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.105, allocations: 0 / 369.3 MB, free: 1.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.105, allocations: 0 / 369.3 MB, free: 1.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.105, allocations: 3.984 kB / 369.3 MB, free: 1.848 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003924/0.1089, allocations: 1.624 MB / 370.9 MB, free: 172 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.109, allocations: 8.031 kB / 370.9 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1454/0.2544, allocations: 480.3 kB / 371.4 MB, free: 25.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009608/0.2554, allocations: 491.9 kB / 371.9 MB, free: 24.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.279e-05/0.2555, allocations: 84.56 kB / 371.9 MB, free: 24.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.2557, allocations: 110.5 kB / 372 MB, free: 24.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.2576, allocations: 0.9681 MB / 373 MB, free: 24.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.2576, allocations: 1.125 kB / 373 MB, free: 24.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/0.2577, allocations: 51.2 kB / 373.1 MB, free: 24.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.2577, allocations: 27.75 kB / 373.1 MB, free: 24.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.2595, allocations: 0.964 MB / 374.1 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005073/0.2646, allocations: 3.669 MB / 377.7 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.2663, allocations: 1.545 MB / 379.3 MB, free: 20.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/0.267, allocations: 436.8 kB / 379.7 MB, free: 20.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.2671, allocations: 103.6 kB / 379.8 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007662/0.2679, allocations: 477.2 kB / 380.3 MB, free: 20.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.465e-06/0.2679, allocations: 0.75 kB / 380.3 MB, free: 20.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.008167/0.2761, allocations: 3.98 MB / 384.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.2762, allocations: 142.8 kB / 384.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.2766, allocations: 393.4 kB / 384.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.2766, allocations: 51.95 kB / 384.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.2768, allocations: 418.8 kB / 385.2 MB, free: 17.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.2771, allocations: 424.3 kB / 385.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.2773, allocations: 203 kB / 385.8 MB, free: 17.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.2774, allocations: 391.6 kB / 386.2 MB, free: 17.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/0.2781, allocations: 351 kB / 386.6 MB, free: 16.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/0.2788, allocations: 0.5453 MB / 387.1 MB, free: 16.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.2801, allocations: 0.9421 MB / 388.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.2801, allocations: 6.312 kB / 388.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002538/0.2827, allocations: 1.39 MB / 389.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.2827, allocations: 9.031 kB / 389.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.2827, allocations: 4.094 kB / 389.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008587/0.2836, allocations: 346.2 kB / 389.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.2844, allocations: 209.5 kB / 390 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/0.2902, allocations: 8.474 MB / 398.5 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007307/0.2909, allocations: 54.27 kB / 398.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/0.291, allocations: 40.19 kB / 398.6 MB, free: 7.734 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003942/0.2914, allocations: 260.3 kB / 398.8 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.2915, allocations: 69.41 kB / 398.9 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.2935, allocations: 1.312 MB / 400.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.2936, allocations: 11.72 kB / 400.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.2936, allocations: 12.09 kB / 400.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.2936, allocations: 3.984 kB / 400.2 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.2966, allocations: 2.526 MB / 402.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2966, allocations: 4 kB / 402.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.2972, allocations: 151.8 kB / 402.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006217/0.2979, allocations: 326.1 kB / 403.2 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.2979, allocations: 24 kB / 403.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006197/0.3041, allocations: 8.114 MB / 411.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3042, allocations: 4.25 kB / 411.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/0.3071, allocations: 1.825 MB / 413.2 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.3074, allocations: 220.2 kB / 413.4 MB, free: 9.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.614e-05/0.3075, allocations: 31.94 kB / 413.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.308, allocations: 42.27 kB / 413.5 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.3082, allocations: 100.8 kB / 413.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/0.3083, allocations: 35.98 kB / 413.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002698/0.3086, allocations: 275.1 kB / 413.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3086, allocations: 0 / 413.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001092/0.3097, allocations: 313.5 kB / 414.2 MB, free: 8.879 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002584/0.31, allocations: 170.2 kB / 414.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.3125, allocations: 1.613 MB / 416 MB, free: 7.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3125, allocations: 4.125 kB / 416 MB, free: 7.043 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.3139, allocations: 1.141 MB / 417.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.3145, allocations: 76.53 kB / 417.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.3176, allocations: 1.93 MB / 419.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.3181, allocations: 1.021 MB / 420.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003812/0.3185, allocations: 106.2 kB / 420.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3187, allocations: 51.42 kB / 420.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3187, allocations: 0 / 420.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of Templates: time 0.1868/0.5055, allocations: 10.91 MB / 431.2 MB, free: 7.73 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches