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.001388/0.001387, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 60.17 kB / 307.6 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08085/0.08199, allocations: 50.53 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006907/0.08893, allocations: 6.472 MB / 364.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.09272, allocations: 2.639 MB / 367.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.09309, allocations: 20 kB / 367.3 MB, free: 4.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.09565, allocations: 1.279 MB / 368.6 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.09684, allocations: 0.5318 MB / 369.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.09899, allocations: 1.257 MB / 370.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.1001, allocations: 1.071 MB / 371.4 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1437/0.2438, allocations: 0.9034 MB / 372.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007683/0.2446, allocations: 438.5 kB / 372.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.2452, allocations: 0.5423 MB / 373.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.2454, allocations: 96.88 kB / 373.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008639/0.2463, allocations: 419.8 kB / 373.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.2465, allocations: 233.2 kB / 374 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.2469, allocations: 0.5251 MB / 374.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.2486, allocations: 1.508 MB / 376.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2487, allocations: 0.6562 kB / 376.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2487, allocations: 0 / 376.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.2487, allocations: 0.5 kB / 376.1 MB, free: 9.105 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.004152/0.2529, allocations: 1.643 MB / 377.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2529, allocations: 8.594 kB / 377.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.256, allocations: 494.5 kB / 378.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.2567, allocations: 0.4904 MB / 378.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.2568, allocations: 84.53 kB / 378.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.2569, allocations: 115.5 kB / 378.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.2586, allocations: 0.9688 MB / 379.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.2587, allocations: 5.891 kB / 379.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-05/0.2588, allocations: 49.14 kB / 379.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.2588, allocations: 30.12 kB / 379.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.2605, allocations: 0.9571 MB / 380.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005291/0.2658, allocations: 3.802 MB / 384.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.2675, allocations: 1.546 MB / 386.2 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007279/0.2682, allocations: 439.1 kB / 386.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.2684, allocations: 187.4 kB / 386.9 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007585/0.2691, allocations: 475.4 kB / 387.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.855e-06/0.2692, allocations: 0 / 387.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.008376/0.2775, allocations: 3.995 MB / 391.3 MB, free: 1.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.2776, allocations: 147.2 kB / 391.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.2781, allocations: 407 kB / 391.9 MB, free: 1.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.2781, allocations: 46.7 kB / 391.9 MB, free: 1.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.2784, allocations: 431.1 kB / 392.3 MB, free: 1.152 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.2786, allocations: 415.7 kB / 392.7 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.2789, allocations: 206.4 kB / 392.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.279, allocations: 377.9 kB / 393.3 MB, free: 396 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006666/0.2796, allocations: 359 kB / 393.6 MB, free: 260 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007681/0.2804, allocations: 0.5393 MB / 394.2 MB, free: 15.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.2819, allocations: 0.9452 MB / 395.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.282, allocations: 1.125 kB / 395.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00251/0.2845, allocations: 1.381 MB / 396.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2845, allocations: 7.719 kB / 396.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.2845, allocations: 3.906 kB / 396.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008122/0.2853, allocations: 362.2 kB / 396.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.2861, allocations: 205.7 kB / 397.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/0.2936, allocations: 8.491 MB / 405.6 MB, free: 7.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007779/0.2944, allocations: 49.86 kB / 405.6 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.99e-05/0.2945, allocations: 43.78 kB / 405.7 MB, free: 7.043 MB / 318.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.0004751/0.295, allocations: 263.5 kB / 405.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.2951, allocations: 76.91 kB / 406 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.2976, allocations: 1.305 MB / 407.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.2976, allocations: 13.62 kB / 407.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.2976, allocations: 3.875 kB / 407.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.2976, allocations: 5.859 kB / 407.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.3018, allocations: 2.543 MB / 409.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3018, allocations: 4 kB / 409.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/0.3024, allocations: 150.7 kB / 410 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007328/0.3032, allocations: 333.3 kB / 410.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.3033, allocations: 27.98 kB / 410.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006685/0.31, allocations: 8.109 MB / 418.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.31, allocations: 8.062 kB / 418.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.3129, allocations: 1.828 MB / 420.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.3132, allocations: 220.2 kB / 420.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3133, allocations: 24 kB / 420.6 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.3138, allocations: 47.48 kB / 420.6 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.3139, allocations: 104.8 kB / 420.7 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.314, allocations: 32 kB / 420.7 MB, free: 8.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.3143, allocations: 279.1 kB / 421 MB, free: 7.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3143, allocations: 0 / 421 MB, free: 7.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001037/0.3153, allocations: 316 kB / 421.3 MB, free: 7.559 MB / 334.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.0002674/0.3156, allocations: 175.6 kB / 421.5 MB, free: 7.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00289/0.3185, allocations: 1.657 MB / 423.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3185, allocations: 0 / 423.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.32, allocations: 1.152 MB / 424.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.3205, allocations: 78.42 kB / 424.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.3237, allocations: 1.998 MB / 426.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/0.3243, allocations: 1.024 MB / 427.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.3245, allocations: 63.42 kB / 427.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3245, allocations: 0 / 427.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of Templates: time 0.02512/0.3496, allocations: 26.58 MB / 454 MB, free: 6.691 MB / 366.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