Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001064/0.001064, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2112/0.2112, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3714, allocations: 60.81 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004357/0.3758, allocations: 3.508 MB / 0.5223 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3769, allocations: 0.7908 MB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.377, allocations: 7.531 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.3772, allocations: 72.58 kB / 0.5232 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.3774, allocations: 132 kB / 0.5233 GB, free: 428 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.3778, allocations: 126.3 kB / 0.5234 GB, free: 356 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.3782, allocations: 0.5219 MB / 0.5239 GB, free: 80 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.3785, allocations: 242.8 kB / 0.5242 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.3788, allocations: 217.5 kB / 0.5244 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.379, allocations: 234.1 kB / 0.5246 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.766e-05/0.3791, allocations: 49.19 kB / 0.5246 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.3792, allocations: 49.31 kB / 0.5247 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.987e-05/0.3793, allocations: 108.5 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.3795, allocations: 248.4 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005547/0.3801, allocations: 0.5588 MB / 0.5256 GB, free: 15.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3801, allocations: 0.6562 kB / 0.5256 GB, free: 15.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3801, allocations: 0 / 0.5256 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.3801, allocations: 0 / 0.5256 GB, free: 15.29 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001199/0.3813, allocations: 0.7598 MB / 0.5263 GB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.3814, allocations: 10.33 kB / 0.5263 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.3814, allocations: 54.41 kB / 0.5264 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.3818, allocations: 314.4 kB / 0.5267 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.3819, allocations: 35.25 kB / 0.5267 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.382, allocations: 47.33 kB / 0.5267 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/0.3827, allocations: 474.4 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3827, allocations: 0 / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.3828, allocations: 21.44 kB / 0.5272 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3828, allocations: 11 kB / 0.5272 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.3835, allocations: 332.4 kB / 0.5275 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.3857, allocations: 1.673 MB / 0.5292 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.3862, allocations: 239.7 kB / 0.5294 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.3865, allocations: 139 kB / 0.5295 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3865, allocations: 2.812 kB / 0.5295 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3865, allocations: 41.44 kB / 0.5296 GB, free: 12.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.3866, allocations: 0 / 0.5296 GB, free: 12.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.002802/0.3894, allocations: 1.339 MB / 0.5309 GB, free: 11.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.3894, allocations: 80.33 kB / 0.531 GB, free: 11.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3897, allocations: 257.7 kB / 0.5312 GB, free: 10.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.3897, allocations: 31.3 kB / 0.5312 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.3899, allocations: 268.6 kB / 0.5315 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/0.39, allocations: 121.3 kB / 0.5316 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.3901, allocations: 71.02 kB / 0.5317 GB, free: 10.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3902, allocations: 341.9 kB / 0.532 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.3905, allocations: 112.8 kB / 0.5321 GB, free: 10.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.3908, allocations: 211.9 kB / 0.5323 GB, free: 9.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.3914, allocations: 338.7 kB / 0.5326 GB, free: 9.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3914, allocations: 1.125 kB / 0.5326 GB, free: 9.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007965/0.3922, allocations: 422 kB / 0.533 GB, free: 9.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3923, allocations: 5.594 kB / 0.533 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3923, allocations: 4.188 kB / 0.5331 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.3924, allocations: 36.62 kB / 0.5331 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.3928, allocations: 128.2 kB / 0.5332 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.394, allocations: 1.426 MB / 0.5346 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.3942, allocations: 20.42 kB / 0.5346 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.3943, allocations: 19.06 kB / 0.5346 GB, free: 7.918 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002762/0.3945, allocations: 173.8 kB / 0.5348 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.3946, allocations: 38.06 kB / 0.5348 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.598e-05/0.3947, allocations: 37.14 kB / 0.5349 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3947, allocations: 3.531 kB / 0.5349 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3947, allocations: 0 / 0.5349 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3947, allocations: 0 / 0.5349 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3958, allocations: 0.718 MB / 0.5356 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3958, allocations: 1.188 kB / 0.5356 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.3962, allocations: 97.5 kB / 0.5357 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.138e-05/0.3963, allocations: 26.03 kB / 0.5357 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.3963, allocations: 10.25 kB / 0.5357 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.3973, allocations: 1.431 MB / 0.5371 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3973, allocations: 0.9375 kB / 0.5371 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3984, allocations: 0.6026 MB / 0.5377 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.3986, allocations: 123.9 kB / 0.5378 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.3986, allocations: 10.31 kB / 0.5378 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.3989, allocations: 18.86 kB / 0.5378 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.399, allocations: 27.5 kB / 0.5379 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.399, allocations: 10.58 kB / 0.5379 GB, free: 4.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.3992, allocations: 188.2 kB / 0.5381 GB, free: 4.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3992, allocations: 4 kB / 0.5381 GB, free: 4.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005041/0.3997, allocations: 92.19 kB / 0.5382 GB, free: 4.844 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001667/0.3999, allocations: 101.9 kB / 0.5382 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.4009, allocations: 412.8 kB / 0.5386 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4009, allocations: 1.562 kB / 0.5386 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004312/0.4014, allocations: 243.6 kB / 0.5389 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.4019, allocations: 45.38 kB / 0.5389 GB, free: 4.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.4035, allocations: 0.8953 MB / 0.5398 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.4039, allocations: 0.811 MB / 0.5406 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.4041, allocations: 40.55 kB / 0.5406 GB, free: 2.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.4042, allocations: 29.44 kB / 0.5407 GB, free: 2.895 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4042, allocations: 0 / 0.5407 GB, free: 2.895 MB / 398.1 MB Notification: Performance of Templates: time 0.007514/0.4117, allocations: 3.231 MB / 0.5438 GB, free: 1.285 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches