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.0014/0.0014, allocations: 113.3 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.001523/0.001523, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.386/1.386, 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.001332/0.001332, allocations: 43.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0854/0.08674, 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.1881/0.2749, allocations: 6.446 MB / 382.3 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004831/0.2798, allocations: 2.589 MB / 384.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.2809, allocations: 19.62 kB / 384.9 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.2841, allocations: 1.284 MB / 386.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.2866, allocations: 0.7073 MB / 386.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.2889, allocations: 1.097 MB / 388 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.2908, allocations: 1.098 MB / 389.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.2922, allocations: 0.9003 MB / 390 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007614/0.293, allocations: 454.4 kB / 390.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007706/0.2938, allocations: 0.5597 MB / 391 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.294, allocations: 101.8 kB / 391.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.2952, allocations: 414.2 kB / 391.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.2954, allocations: 234.6 kB / 391.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005266/0.296, allocations: 0.534 MB / 392.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.2983, allocations: 1.516 MB / 393.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2983, allocations: 0 / 393.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2984, allocations: 0 / 393.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.2984, allocations: 0 / 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.004583/0.303, allocations: 1.649 MB / 395.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.303, allocations: 9.719 kB / 395.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003926/0.307, allocations: 0.5716 MB / 396 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.3079, allocations: 0.4923 MB / 396.5 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.308, allocations: 94.12 kB / 396.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.3081, allocations: 115.5 kB / 396.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.3101, allocations: 1.014 MB / 397.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.3102, allocations: 1.922 kB / 397.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.927e-05/0.3103, allocations: 46.09 kB / 397.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.3103, allocations: 31.34 kB / 397.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.3122, allocations: 1.029 MB / 398.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006092/0.3183, allocations: 3.839 MB / 402.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.3206, allocations: 2.057 MB / 404.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000819/0.3215, allocations: 444.1 kB / 405.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.3216, allocations: 100.5 kB / 405.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009232/0.3226, allocations: 489.6 kB / 405.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 4.198e-06/0.3226, allocations: 0 / 405.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009448/0.332, allocations: 4.021 MB / 409.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3322, allocations: 142.2 kB / 409.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.3328, allocations: 413.3 kB / 410.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-05/0.3329, allocations: 47.08 kB / 410.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.3332, allocations: 444.4 kB / 410.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.3335, allocations: 429 kB / 411.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.3338, allocations: 220.9 kB / 411.4 MB, free: 9.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.334, allocations: 382.3 kB / 411.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007049/0.3347, allocations: 361.4 kB / 412.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00082/0.3355, allocations: 0.5907 MB / 412.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.3371, allocations: 1.002 MB / 413.7 MB, free: 7.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3371, allocations: 1.188 kB / 413.7 MB, free: 7.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002673/0.3398, allocations: 1.441 MB / 415.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3399, allocations: 7.125 kB / 415.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3399, allocations: 5.781 kB / 415.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008954/0.3408, allocations: 355.7 kB / 415.5 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/0.3417, allocations: 217.2 kB / 415.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00752/0.3492, allocations: 8.489 MB / 424.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/0.3502, allocations: 47.98 kB / 424.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.3503, allocations: 47.98 kB / 424.3 MB, free: 13.68 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.0005474/0.3509, allocations: 265.7 kB / 424.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.351, allocations: 75.06 kB / 424.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.3535, allocations: 1.317 MB / 425.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.3535, allocations: 16 kB / 426 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3535, allocations: 7.938 kB / 426 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.3536, allocations: 7.969 kB / 426 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.3576, allocations: 2.553 MB / 428.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.3576, allocations: 4 kB / 428.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/0.3583, allocations: 160 kB / 428.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008227/0.3591, allocations: 323.1 kB / 429 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.3592, allocations: 27.98 kB / 429 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007173/0.3664, allocations: 8.122 MB / 437.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3665, allocations: 0 / 437.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/0.3698, allocations: 1.837 MB / 439 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.3703, allocations: 224.1 kB / 439.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.3704, allocations: 28 kB / 439.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.371, allocations: 39.92 kB / 439.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.3712, allocations: 100.8 kB / 439.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.3713, allocations: 35.98 kB / 439.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003429/0.3716, allocations: 279.2 kB / 439.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3716, allocations: 7.938 kB / 439.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001342/0.373, allocations: 316 kB / 440 MB, free: 13.22 MB / 366.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) * 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 (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.0003412/0.3733, allocations: 167 kB / 440.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.3761, allocations: 1.651 MB / 441.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3761, allocations: 4 kB / 441.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.3778, allocations: 1.155 MB / 443 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.3786, allocations: 74.64 kB / 443 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.3827, allocations: 2.011 MB / 445 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.3835, allocations: 1.028 MB / 446.1 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/0.3838, allocations: 67.41 kB / 446.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3838, allocations: 0 / 446.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of Templates: time 0.02976/0.4136, allocations: 26.81 MB / 473 MB, free: 12 MB / 398.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