Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.001141, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2059, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007636/0.2135, allocations: 6.495 MB / 416.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.2177, allocations: 2.628 MB / 419.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.2182, allocations: 19.94 kB / 419.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.2211, allocations: 1.279 MB / 420.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.2224, allocations: 0.5279 MB / 420.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.2246, allocations: 1.257 MB / 422.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.2258, allocations: 1.075 MB / 423.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.227, allocations: 0.9029 MB / 424.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.2275, allocations: 442.4 kB / 424.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006423/0.2282, allocations: 0.5524 MB / 425.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.2283, allocations: 96 kB / 425.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000718/0.229, allocations: 419.7 kB / 425.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.2292, allocations: 235.1 kB / 425.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.2297, allocations: 0.5208 MB / 426.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.2312, allocations: 1.52 MB / 427.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2312, allocations: 0 / 427.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.2312, allocations: 4 kB / 427.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.2312, allocations: 0 / 427.9 MB, free: 15.54 MB / 350.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.004077/0.2353, allocations: 1.64 MB / 429.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2354, allocations: 8.031 kB / 429.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/0.2388, allocations: 499.2 kB / 430 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.2394, allocations: 0.4943 MB / 430.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/0.2395, allocations: 82.22 kB / 430.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.2396, allocations: 111.9 kB / 430.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.2413, allocations: 0.9706 MB / 431.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.2414, allocations: 11.92 kB / 431.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-05/0.2415, allocations: 44 kB / 431.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.2415, allocations: 28 kB / 431.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.2434, allocations: 0.9574 MB / 432.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005476/0.2489, allocations: 3.76 MB / 436.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.2508, allocations: 1.548 MB / 438 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007567/0.2515, allocations: 442.6 kB / 438.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.2517, allocations: 187.2 kB / 438.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008008/0.2525, allocations: 470.5 kB / 439.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.325e-06/0.2525, allocations: 4 kB / 439.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.008745/0.2613, allocations: 3.993 MB / 443.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.2614, allocations: 145.5 kB / 443.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.2618, allocations: 409.5 kB / 443.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.2619, allocations: 45.7 kB / 443.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.2621, allocations: 423.7 kB / 444.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.2624, allocations: 421.8 kB / 444.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.2627, allocations: 206.8 kB / 444.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2629, allocations: 378.7 kB / 445.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007133/0.2636, allocations: 362.5 kB / 445.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008501/0.2644, allocations: 0.5468 MB / 446 MB, free: 12.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.266, allocations: 0.9382 MB / 446.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2661, allocations: 0 / 446.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002544/0.2686, allocations: 1.386 MB / 448.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2686, allocations: 15.94 kB / 448.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2687, allocations: 4 kB / 448.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008733/0.2695, allocations: 347.1 kB / 448.6 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.2704, allocations: 211.7 kB / 448.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007671/0.2781, allocations: 8.48 MB / 457.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.2787, allocations: 43.98 kB / 457.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/0.2788, allocations: 43.98 kB / 457.4 MB, free: 0.5 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.0003479/0.2791, allocations: 269.5 kB / 457.7 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2793, allocations: 75.06 kB / 457.8 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.2818, allocations: 1.305 MB / 459.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.2819, allocations: 7.969 kB / 459.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2819, allocations: 4 kB / 459.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.2822, allocations: 224.1 kB / 459.3 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.436e-05/0.2823, allocations: 28 kB / 459.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.2828, allocations: 35.98 kB / 459.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.2829, allocations: 108.8 kB / 459.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003206/0.2861, allocations: 1.472 MB / 460.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002521/0.2887, allocations: 1.62 MB / 462.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006963/0.2894, allocations: 395.8 kB / 462.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002829/0.2897, allocations: 275.2 kB / 463.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Backend: time 4.21e-07/0.2897, allocations: 0 / 463.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.2923, allocations: 1.552 MB / 464.8 MB, free: 9.023 MB / 382.1 MB Notification: Performance of SimCode: time 0.00262/0.295, allocations: 2.372 MB / 467.1 MB, free: 6.598 MB / 382.1 MB Notification: Performance of Templates: time 0.02355/0.3185, allocations: 15.07 MB / 482.2 MB, free: 7.539 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches