Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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: 108.4 kB / 18.4 MB, free: 4.699 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.00106/0.00106, allocations: 186.2 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 48.41 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07086/0.07204, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.1367/0.2088, allocations: 6.444 MB / 382.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.2122, allocations: 2.59 MB / 384.9 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.2126, allocations: 21.81 kB / 384.9 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.215, allocations: 1.279 MB / 386.2 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.2162, allocations: 0.7094 MB / 386.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.2179, allocations: 1.101 MB / 388 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008608/0.2188, allocations: 1.097 MB / 389.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.2198, allocations: 0.9012 MB / 390 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.2202, allocations: 452.8 kB / 390.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.2208, allocations: 0.5659 MB / 391 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.2209, allocations: 97.38 kB / 391.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006594/0.2216, allocations: 408.4 kB / 391.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.2217, allocations: 234.6 kB / 391.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.2221, allocations: 0.5306 MB / 392.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.2234, allocations: 1.519 MB / 393.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2235, allocations: 1.984 kB / 393.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2235, allocations: 0 / 393.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.2235, allocations: 4 kB / 393.7 MB, free: 4.453 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003892/0.2274, allocations: 1.652 MB / 395.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2274, allocations: 10.17 kB / 395.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003999/0.2314, allocations: 0.5668 MB / 396 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.232, allocations: 0.4977 MB / 396.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.2321, allocations: 89.3 kB / 396.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.2322, allocations: 114.7 kB / 396.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.2341, allocations: 1.012 MB / 397.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.2341, allocations: 1.219 kB / 397.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/0.2342, allocations: 46.56 kB / 397.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.2342, allocations: 26.56 kB / 397.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.2361, allocations: 1.033 MB / 398.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005248/0.2414, allocations: 3.839 MB / 402.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/0.2437, allocations: 2.051 MB / 404.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008051/0.2445, allocations: 449 kB / 405.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.2446, allocations: 95.94 kB / 405.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008802/0.2455, allocations: 493.1 kB / 405.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.434e-06/0.2455, allocations: 0 / 405.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009054/0.2546, allocations: 4.017 MB / 409.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.2547, allocations: 142.7 kB / 409.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.2552, allocations: 413.7 kB / 410.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.2552, allocations: 49.98 kB / 410.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.2555, allocations: 453.5 kB / 410.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.2558, allocations: 428.5 kB / 411.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.2562, allocations: 212.6 kB / 411.4 MB, free: 9.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2563, allocations: 386.4 kB / 411.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007143/0.2571, allocations: 360.8 kB / 412.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008501/0.2579, allocations: 0.595 MB / 412.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.2595, allocations: 0.9942 MB / 413.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2596, allocations: 2 kB / 413.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00264/0.2622, allocations: 1.445 MB / 415.1 MB, free: 7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2622, allocations: 6.875 kB / 415.1 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.2622, allocations: 13.48 kB / 415.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008407/0.2631, allocations: 347.4 kB / 415.5 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.264, allocations: 225.1 kB / 415.7 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00767/0.2717, allocations: 8.481 MB / 424.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/0.2724, allocations: 51.92 kB / 424.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/0.2725, allocations: 44 kB / 424.3 MB, free: 13.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.0003777/0.2728, allocations: 265.7 kB / 424.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.273, allocations: 75.06 kB / 424.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.2756, allocations: 1.325 MB / 426 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.2756, allocations: 7.969 kB / 426 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2756, allocations: 0 / 426 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.2759, allocations: 224.1 kB / 426.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.276, allocations: 24 kB / 426.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004717/0.2765, allocations: 35.98 kB / 426.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.2767, allocations: 105.1 kB / 426.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003239/0.2799, allocations: 1.495 MB / 427.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002546/0.2825, allocations: 1.649 MB / 429.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007142/0.2832, allocations: 398.3 kB / 429.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002871/0.2835, allocations: 275.2 kB / 430.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of Backend: time 4.31e-07/0.2835, allocations: 0 / 430.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002777/0.2863, allocations: 1.562 MB / 431.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of SimCode: time 0.002648/0.2889, allocations: 2.386 MB / 434.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of Templates: time 0.02175/0.3107, allocations: 14.72 MB / 448.8 MB, free: 4.973 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches