Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002668/0.002677, allocations: 179.8 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007748/0.0007748, allocations: 94.23 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, allocations: 47.58 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005278/0.2508, allocations: 5.573 MB / 380.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003965/0.2548, allocations: 2.322 MB / 382.5 MB, free: 39.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000428/0.2552, allocations: 18.72 kB / 382.5 MB, free: 39.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006411/0.2559, allocations: 265.8 kB / 382.7 MB, free: 38.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.2572, allocations: 0.5819 MB / 383.3 MB, free: 38.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.2587, allocations: 0.8893 MB / 384.2 MB, free: 37.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.2598, allocations: 0.9907 MB / 385.2 MB, free: 37.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.2614, allocations: 1.189 MB / 386.4 MB, free: 36.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.2619, allocations: 365.2 kB / 386.7 MB, free: 36.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.2624, allocations: 476.6 kB / 387.2 MB, free: 35.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.2625, allocations: 47.31 kB / 387.3 MB, free: 35.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000734/0.2633, allocations: 352.4 kB / 387.6 MB, free: 35.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2634, allocations: 183.2 kB / 387.8 MB, free: 35.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.2635, allocations: 201.2 kB / 388 MB, free: 35.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007829/0.2643, allocations: 1.119 MB / 389.1 MB, free: 34.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2643, allocations: 0 / 389.1 MB, free: 34.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2643, allocations: 0 / 389.1 MB, free: 34.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.2644, allocations: 0 / 389.1 MB, free: 34.22 MB / 298.7 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.003353/0.2677, allocations: 1.48 MB / 390.6 MB, free: 32.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2678, allocations: 8.031 kB / 390.6 MB, free: 32.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.2713, allocations: 0.5802 MB / 391.2 MB, free: 32.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.2718, allocations: 497.2 kB / 391.6 MB, free: 31.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.2718, allocations: 90.3 kB / 391.7 MB, free: 31.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.272, allocations: 112 kB / 391.8 MB, free: 31.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.2735, allocations: 1.007 MB / 392.8 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.2736, allocations: 7.906 kB / 392.9 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-05/0.2737, allocations: 48 kB / 392.9 MB, free: 30.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.2737, allocations: 28 kB / 392.9 MB, free: 30.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.2753, allocations: 1.036 MB / 394 MB, free: 29.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/0.28, allocations: 3.88 MB / 397.8 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.2817, allocations: 2.056 MB / 399.9 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/0.2823, allocations: 444.1 kB / 400.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-05/0.2824, allocations: 102.1 kB / 400.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007/0.2831, allocations: 474.5 kB / 400.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 2.936e-06/0.2831, allocations: 4 kB / 400.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=127): time 0.007614/0.2908, allocations: 4.057 MB / 405 MB, free: 17.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.2908, allocations: 149.4 kB / 405.1 MB, free: 17.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.2912, allocations: 405.8 kB / 405.5 MB, free: 16.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.2912, allocations: 45.7 kB / 405.5 MB, free: 16.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.2914, allocations: 447.5 kB / 406 MB, free: 16.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.2916, allocations: 433.7 kB / 406.4 MB, free: 16.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.2917, allocations: 28 kB / 406.4 MB, free: 16.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.2918, allocations: 382.7 kB / 406.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005957/0.2924, allocations: 358.5 kB / 407.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.293, allocations: 0.5837 MB / 407.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/0.2937, allocations: 450.7 kB / 408.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2938, allocations: 0 / 408.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002139/0.2959, allocations: 1.425 MB / 409.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2959, allocations: 8 kB / 409.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.296, allocations: 11.97 kB / 409.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007636/0.2967, allocations: 357.7 kB / 410 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.2975, allocations: 215.7 kB / 410.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/0.303, allocations: 7.722 MB / 417.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006984/0.3038, allocations: 56 kB / 418 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.3038, allocations: 52 kB / 418 MB, free: 3.801 MB / 298.7 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,$PRE.rootMeanSquare.mean.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003724/0.3042, allocations: 269.5 kB / 418.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.363e-05/0.3043, allocations: 79.09 kB / 418.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.3064, allocations: 1.317 MB / 419.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3065, allocations: 16 kB / 419.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3065, allocations: 7.938 kB / 419.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3065, allocations: 7.984 kB / 419.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.31, allocations: 2.573 MB / 422.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-05/0.31, allocations: 4.031 kB / 422.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007127/0.3107, allocations: 155.7 kB / 422.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007805/0.3115, allocations: 323.2 kB / 422.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.3116, allocations: 24 kB / 422.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00686/0.3185, allocations: 7.433 MB / 430.2 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3185, allocations: 3.938 kB / 430.2 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/0.3217, allocations: 1.831 MB / 432 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.322, allocations: 224.1 kB / 432.3 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.386e-05/0.3221, allocations: 24 kB / 432.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/0.3227, allocations: 43.98 kB / 432.3 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.3228, allocations: 100.8 kB / 432.4 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/0.3229, allocations: 39.98 kB / 432.5 MB, free: 4.625 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003161/0.3232, allocations: 271.2 kB / 432.7 MB, free: 4.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3232, allocations: 4 kB / 432.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001199/0.3245, allocations: 320 kB / 433 MB, free: 4.043 MB / 314.7 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) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 19,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002856/0.3247, allocations: 167.3 kB / 433.2 MB, free: 3.867 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.3275, allocations: 1.644 MB / 434.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3275, allocations: 384 / 434.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.3291, allocations: 1.161 MB / 436 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.3296, allocations: 73.55 kB / 436.1 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.3333, allocations: 2.472 MB / 438.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.334, allocations: 1.025 MB / 439.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.3342, allocations: 71.41 kB / 439.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3343, allocations: 3.938 kB / 439.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of Templates: time 0.02721/0.3615, allocations: 26.64 MB / 466.3 MB, free: 2.523 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches