Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001192/0.001192, allocations: 110.2 kB / 17.17 MB, free: 6.348 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.001258/0.001259, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 42.83 kB / 300.6 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09739, allocations: 49.45 MB / 350.1 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007963/0.1054, allocations: 6.424 MB / 356.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004566/0.11, allocations: 2.523 MB / 359 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009033/0.1109, allocations: 20 kB / 359 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.114, allocations: 1.186 MB / 360.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.1162, allocations: 0.6248 MB / 360.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.1186, allocations: 1.065 MB / 361.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.1202, allocations: 1.012 MB / 362.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.1217, allocations: 0.7916 MB / 363.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.1223, allocations: 410.4 kB / 364.1 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000728/0.1231, allocations: 0.5173 MB / 364.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.1233, allocations: 75.94 kB / 364.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009131/0.1242, allocations: 379.7 kB / 365.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.1244, allocations: 203.2 kB / 365.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005693/0.125, allocations: 0.4973 MB / 365.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1263, allocations: 1.126 MB / 366.9 MB, free: 3.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1263, allocations: 4 kB / 366.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1263, allocations: 0 / 366.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.124e-05/0.1264, allocations: 0 / 366.9 MB, free: 3.727 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.004978/0.1314, allocations: 1.636 MB / 368.5 MB, free: 2.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1314, allocations: 12.03 kB / 368.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003223/0.1347, allocations: 483.3 kB / 369 MB, free: 1.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/0.1355, allocations: 486.3 kB / 369.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.03e-05/0.1356, allocations: 82.22 kB / 369.6 MB, free: 0.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.1358, allocations: 115.8 kB / 369.7 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1716/0.3074, allocations: 0.9678 MB / 370.6 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-05/0.3075, allocations: 1.938 kB / 370.6 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.3077, allocations: 47.48 kB / 370.7 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.3077, allocations: 27.25 kB / 370.7 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.3101, allocations: 0.96 MB / 371.7 MB, free: 24.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006552/0.3166, allocations: 3.694 MB / 375.4 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.3186, allocations: 1.551 MB / 376.9 MB, free: 21.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/0.3194, allocations: 431.9 kB / 377.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.3196, allocations: 103.3 kB / 377.5 MB, free: 21.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009252/0.3205, allocations: 470.5 kB / 377.9 MB, free: 20.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.945e-06/0.3205, allocations: 0 / 377.9 MB, free: 20.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009208/0.3297, allocations: 3.975 MB / 381.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.3298, allocations: 147 kB / 382 MB, free: 18.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005372/0.3304, allocations: 398 kB / 382.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/0.3305, allocations: 46.77 kB / 382.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.3307, allocations: 421.1 kB / 382.9 MB, free: 18.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.331, allocations: 419.7 kB / 383.3 MB, free: 17.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/0.3313, allocations: 212.9 kB / 383.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3315, allocations: 374.2 kB / 383.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/0.3322, allocations: 356 kB / 384.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/0.333, allocations: 0.5409 MB / 384.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.3346, allocations: 0.9426 MB / 385.7 MB, free: 16.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3346, allocations: 1.156 kB / 385.7 MB, free: 16.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00272/0.3373, allocations: 1.391 MB / 387.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.3374, allocations: 6.625 kB / 387.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3374, allocations: 8.344 kB / 387.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.3384, allocations: 350.5 kB / 387.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/0.3393, allocations: 200.7 kB / 387.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006289/0.3456, allocations: 7.735 MB / 395.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/0.3466, allocations: 47.86 kB / 395.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.3466, allocations: 45.47 kB / 395.5 MB, free: 9.086 MB / 302.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.0004422/0.3471, allocations: 267.3 kB / 395.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.3472, allocations: 70.81 kB / 395.8 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.3497, allocations: 1.309 MB / 397.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.3497, allocations: 12.38 kB / 397.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3497, allocations: 6.875 kB / 397.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.3497, allocations: 8.922 kB / 397.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/0.3535, allocations: 2.536 MB / 399.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3535, allocations: 4.188 kB / 399.7 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/0.3542, allocations: 156 kB / 399.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007233/0.3549, allocations: 319 kB / 400.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.355, allocations: 34.88 kB / 400.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005412/0.3604, allocations: 7.439 MB / 407.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3604, allocations: 0 / 407.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003376/0.3638, allocations: 1.831 MB / 409.4 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.3642, allocations: 220.2 kB / 409.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3643, allocations: 23.98 kB / 409.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/0.3648, allocations: 46.05 kB / 409.7 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.3651, allocations: 96.81 kB / 409.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/0.3651, allocations: 35.98 kB / 409.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003408/0.3655, allocations: 271.2 kB / 410.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3655, allocations: 0 / 410.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001359/0.3668, allocations: 315.2 kB / 410.4 MB, free: 12.46 MB / 318.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.0003247/0.3672, allocations: 171 kB / 410.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.37, allocations: 1.606 MB / 412.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3701, allocations: 0 / 412.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.3718, allocations: 1.151 MB / 413.3 MB, free: 9.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.3724, allocations: 81.42 kB / 413.4 MB, free: 9.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.3764, allocations: 2.453 MB / 415.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/0.3771, allocations: 1.021 MB / 416.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.3773, allocations: 71.41 kB / 417 MB, free: 5.742 MB / 318.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3773, allocations: 0 / 417 MB, free: 5.742 MB / 318.1 MB Notification: Performance of Templates: time 0.02774/0.4051, allocations: 26.19 MB / 443.2 MB, free: 11.5 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches