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.001226/0.001226, allocations: 109.2 kB / 17.75 MB, free: 5.309 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.00122/0.00122, allocations: 184.3 kB / 18.67 MB, free: 4.395 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.288/1.288, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009484/0.0009484, allocations: 48.03 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2016, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007261/0.2089, allocations: 6.466 MB / 407.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003398/0.2123, allocations: 2.527 MB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.2126, allocations: 24 kB / 410.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.2152, allocations: 1.274 MB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.2164, allocations: 0.6856 MB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.2183, allocations: 1.115 MB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009352/0.2193, allocations: 1.075 MB / 414.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.2204, allocations: 0.8885 MB / 415.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.2208, allocations: 442.4 kB / 415.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.2214, allocations: 0.5485 MB / 416.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.2215, allocations: 100 kB / 416.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006147/0.2222, allocations: 399.6 kB / 416.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.2224, allocations: 231.2 kB / 417.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004255/0.2228, allocations: 0.5169 MB / 417.7 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.2241, allocations: 1.503 MB / 419.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2241, allocations: 0 / 419.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2242, allocations: 4 kB / 419.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.2242, allocations: 0 / 419.2 MB, free: 7.004 MB / 334.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.004126/0.2283, allocations: 1.628 MB / 420.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2283, allocations: 8.031 kB / 420.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/0.2317, allocations: 487.2 kB / 421.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.2323, allocations: 494.2 kB / 421.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.2324, allocations: 86.22 kB / 421.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.2325, allocations: 108 kB / 422 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.2343, allocations: 0.9706 MB / 422.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.2343, allocations: 7.906 kB / 422.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-05/0.2344, allocations: 44 kB / 423 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.2345, allocations: 28 kB / 423 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.2363, allocations: 0.9535 MB / 424 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005419/0.2418, allocations: 3.665 MB / 427.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.2437, allocations: 1.552 MB / 429.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/0.2445, allocations: 440.4 kB / 429.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.2446, allocations: 98.09 kB / 429.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008341/0.2455, allocations: 486.4 kB / 430.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.274e-06/0.2455, allocations: 0 / 430.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.008862/0.2543, allocations: 3.986 MB / 434.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.2544, allocations: 153.4 kB / 434.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.2548, allocations: 397.5 kB / 434.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/0.2549, allocations: 45.7 kB / 434.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.2552, allocations: 423.6 kB / 435.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.2555, allocations: 421.8 kB / 435.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.2558, allocations: 206.9 kB / 435.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2559, allocations: 374.8 kB / 436.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007305/0.2567, allocations: 350.5 kB / 436.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/0.2575, allocations: 0.5429 MB / 437 MB, free: 4.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.2591, allocations: 0.945 MB / 438 MB, free: 3.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2592, allocations: 4 kB / 438 MB, free: 3.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002593/0.2618, allocations: 1.382 MB / 439.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2618, allocations: 11.94 kB / 439.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2618, allocations: 8 kB / 439.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008628/0.2627, allocations: 351.1 kB / 439.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/0.2636, allocations: 199.7 kB / 439.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007824/0.2714, allocations: 8.48 MB / 448.4 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.272, allocations: 48.05 kB / 448.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.2721, allocations: 51.92 kB / 448.5 MB, free: 8.227 MB / 366.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.0003532/0.2725, allocations: 253.6 kB / 448.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.2726, allocations: 71.16 kB / 448.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.2752, allocations: 1.305 MB / 450.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.2752, allocations: 11.97 kB / 450.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2752, allocations: 0 / 450.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.2755, allocations: 220.2 kB / 450.3 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.2756, allocations: 23.98 kB / 450.4 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.2761, allocations: 39.98 kB / 450.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.2763, allocations: 108.8 kB / 450.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003326/0.2796, allocations: 1.467 MB / 452 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002541/0.2822, allocations: 1.624 MB / 453.6 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006951/0.2829, allocations: 395.8 kB / 454 MB, free: 2.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.2832, allocations: 271.1 kB / 454.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of Backend: time 2.2e-07/0.2832, allocations: 0 / 454.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002644/0.2858, allocations: 1.543 MB / 455.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of SimCode: time 0.002541/0.2884, allocations: 2.364 MB / 458.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of Templates: time 0.02305/0.3114, allocations: 14.88 MB / 473 MB, free: 15.48 MB / 398.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 -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