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.001492/0.001492, allocations: 111.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 213.8 kB / 18.92 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247.1 MB, free: 9.059 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 60.52 kB / 307.1 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1179, allocations: 50.54 MB / 357.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008826/0.1268, allocations: 6.465 MB / 364.1 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.132, allocations: 2.585 MB / 366.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007453/0.1328, allocations: 19.94 kB / 366.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003084/0.1359, allocations: 1.183 MB / 367.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.1376, allocations: 485.4 kB / 368.4 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.1402, allocations: 1.187 MB / 369.6 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.142, allocations: 1.067 MB / 370.7 MB, free: 1.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.1438, allocations: 0.9775 MB / 371.6 MB, free: 120 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2062/0.35, allocations: 439.5 kB / 372.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008305/0.3509, allocations: 0.5435 MB / 372.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.3511, allocations: 98.03 kB / 372.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.3523, allocations: 417.6 kB / 373.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.3525, allocations: 232 kB / 373.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005991/0.3531, allocations: 0.5227 MB / 373.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.3549, allocations: 1.168 MB / 375 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3549, allocations: 1.156 kB / 375 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3549, allocations: 1.781 kB / 375 MB, free: 9.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.68e-05/0.3549, allocations: 0 / 375 MB, free: 9.801 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.004878/0.3598, allocations: 1.644 MB / 376.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3599, allocations: 8.25 kB / 376.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.3633, allocations: 473.5 kB / 377.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.3642, allocations: 499.5 kB / 377.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.3642, allocations: 85.12 kB / 377.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.3644, allocations: 119.4 kB / 377.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.3666, allocations: 0.9683 MB / 378.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.3666, allocations: 2.812 kB / 378.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3668, allocations: 45.72 kB / 378.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.3668, allocations: 26.5 kB / 378.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.3687, allocations: 0.958 MB / 379.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006699/0.3754, allocations: 3.805 MB / 383.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.3775, allocations: 1.545 MB / 385.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008237/0.3784, allocations: 435.3 kB / 385.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.3785, allocations: 189.5 kB / 385.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009699/0.3795, allocations: 471.5 kB / 386.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.845e-06/0.3795, allocations: 4 kB / 386.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009392/0.3889, allocations: 3.991 MB / 390.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.389, allocations: 146.8 kB / 390.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.3896, allocations: 405.6 kB / 390.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.3897, allocations: 46.83 kB / 390.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.39, allocations: 425.1 kB / 391.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.3903, allocations: 420 kB / 391.7 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/0.3906, allocations: 210.3 kB / 391.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3907, allocations: 383.1 kB / 392.2 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007205/0.3915, allocations: 351.8 kB / 392.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/0.3923, allocations: 0.5464 MB / 393.1 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.3939, allocations: 0.9356 MB / 394.1 MB, free: 148 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3939, allocations: 5.375 kB / 394.1 MB, free: 144 kB / 302.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003021/0.3969, allocations: 1.396 MB / 395.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.3969, allocations: 6.25 kB / 395.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.397, allocations: 4.719 kB / 395.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009685/0.3979, allocations: 356.8 kB / 395.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.3988, allocations: 205.5 kB / 396 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009017/0.4079, allocations: 8.484 MB / 404.5 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.4089, allocations: 49.42 kB / 404.6 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/0.409, allocations: 42.75 kB / 404.6 MB, free: 7.801 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.0005957/0.4096, allocations: 266 kB / 404.9 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.4098, allocations: 73.47 kB / 404.9 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.4125, allocations: 1.303 MB / 406.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4125, allocations: 12.81 kB / 406.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4125, allocations: 6.406 kB / 406.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.4125, allocations: 7.016 kB / 406.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00458/0.4171, allocations: 2.545 MB / 408.8 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.4171, allocations: 4 kB / 408.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.4179, allocations: 150.4 kB / 409 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008621/0.4187, allocations: 341.7 kB / 409.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/0.4188, allocations: 27.98 kB / 409.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008464/0.4273, allocations: 8.113 MB / 417.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4274, allocations: 4.062 kB / 417.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/0.4311, allocations: 1.827 MB / 419.3 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.4316, allocations: 224.3 kB / 419.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.4317, allocations: 28 kB / 419.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.4322, allocations: 35.98 kB / 419.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.4325, allocations: 100.8 kB / 419.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.29e-05/0.4326, allocations: 35.98 kB / 419.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003756/0.433, allocations: 278.4 kB / 419.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.433, allocations: 0 / 419.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001461/0.4344, allocations: 316 kB / 420.3 MB, free: 8.746 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.0003781/0.4348, allocations: 180 kB / 420.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003763/0.4386, allocations: 1.652 MB / 422.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.4386, allocations: 0 / 422.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.4406, allocations: 1.145 MB / 423.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.4413, allocations: 77.48 kB / 423.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.4458, allocations: 2.446 MB / 425.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007956/0.4466, allocations: 1.028 MB / 426.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.4469, allocations: 71.41 kB / 426.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4469, allocations: 0 / 426.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of Templates: time 0.03449/0.4814, allocations: 26.61 MB / 453.5 MB, free: 7.438 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.1.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