Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2497/0.2497, allocations: 46.88 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 75.88 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3736, allocations: 66 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005646/0.3793, allocations: 3.555 MB / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3809, allocations: 0.8295 MB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.3811, allocations: 11.94 kB / 0.5655 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.3813, allocations: 75.28 kB / 0.5655 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.3816, allocations: 134.8 kB / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.382, allocations: 135.8 kB / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000606/0.3826, allocations: 0.5218 MB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.3829, allocations: 180.5 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.3832, allocations: 211.3 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.3835, allocations: 235 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-05/0.3836, allocations: 48 kB / 0.567 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.3838, allocations: 48 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.3839, allocations: 115.6 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.3841, allocations: 250.8 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.3848, allocations: 0.5562 MB / 0.5679 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3848, allocations: 0 / 0.5679 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3848, allocations: 4 kB / 0.5679 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.3848, allocations: 0 / 0.5679 GB, free: 14.12 MB / 414.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.00147/0.3863, allocations: 0.7675 MB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3863, allocations: 12.03 kB / 0.5687 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3864, allocations: 52.61 kB / 0.5687 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.387, allocations: 321.6 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.387, allocations: 37.38 kB / 0.5691 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.3871, allocations: 44.38 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.388, allocations: 471.2 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3881, allocations: 0 / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.3881, allocations: 16 kB / 0.5696 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.3881, allocations: 12 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007632/0.3889, allocations: 327.8 kB / 0.5699 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.3916, allocations: 1.667 MB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.3922, allocations: 229 kB / 0.5717 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.3925, allocations: 121.7 kB / 0.5718 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3926, allocations: 11.94 kB / 0.5719 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3926, allocations: 38.77 kB / 0.5719 GB, free: 9.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 3.356e-06/0.3926, allocations: 7.922 kB / 0.5719 GB, free: 9.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003259/0.3959, allocations: 1.342 MB / 0.5732 GB, free: 8.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3959, allocations: 92.95 kB / 0.5733 GB, free: 8.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.3962, allocations: 262.5 kB / 0.5736 GB, free: 7.926 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.3963, allocations: 33.7 kB / 0.5736 GB, free: 7.887 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.3965, allocations: 264.1 kB / 0.5738 GB, free: 7.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3966, allocations: 130.9 kB / 0.574 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3967, allocations: 74.09 kB / 0.574 GB, free: 7.414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3969, allocations: 338.8 kB / 0.5744 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.3972, allocations: 112.8 kB / 0.5745 GB, free: 6.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.3975, allocations: 212.3 kB / 0.5747 GB, free: 6.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.3982, allocations: 342.5 kB / 0.575 GB, free: 6.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3982, allocations: 0 / 0.575 GB, free: 6.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000924/0.3991, allocations: 420 kB / 0.5754 GB, free: 5.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3991, allocations: 10.56 kB / 0.5754 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3991, allocations: 8 kB / 0.5754 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.3993, allocations: 28.84 kB / 0.5754 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.3998, allocations: 123.8 kB / 0.5756 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.4015, allocations: 1.442 MB / 0.577 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.4018, allocations: 19.98 kB / 0.577 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.4018, allocations: 16 kB / 0.577 GB, free: 4.129 MB / 414.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.0002685/0.4021, allocations: 169.7 kB / 0.5772 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.4022, allocations: 31.81 kB / 0.5772 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.4022, allocations: 34.17 kB / 0.5772 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.4022, allocations: 4 kB / 0.5772 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4023, allocations: 0 / 0.5772 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.4023, allocations: 8.125 kB / 0.5772 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.4035, allocations: 0.7076 MB / 0.5779 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4035, allocations: 3.984 kB / 0.5779 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.404, allocations: 99.86 kB / 0.578 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-05/0.4041, allocations: 24.84 kB / 0.578 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.4041, allocations: 16 kB / 0.5781 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.4055, allocations: 1.415 MB / 0.5794 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4055, allocations: 0 / 0.5794 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.4066, allocations: 0.6203 MB / 0.5801 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.4068, allocations: 120.9 kB / 0.5802 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.4068, allocations: 8 kB / 0.5802 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.4071, allocations: 19.98 kB / 0.5802 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.4072, allocations: 31.84 kB / 0.5802 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.4072, allocations: 16 kB / 0.5802 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.4074, allocations: 189.9 kB / 0.5804 GB, free: 372 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4074, allocations: 0 / 0.5804 GB, free: 372 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004701/0.4079, allocations: 92 kB / 0.5805 GB, free: 280 kB / 414.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.0001389/0.408, allocations: 110.5 kB / 0.5806 GB, free: 164 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009114/0.4089, allocations: 394.3 kB / 0.581 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4089, allocations: 7.938 kB / 0.581 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.4093, allocations: 238.5 kB / 0.5812 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.4098, allocations: 57.38 kB / 0.5813 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.4115, allocations: 0.9149 MB / 0.5822 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.4119, allocations: 0.8113 MB / 0.583 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.4121, allocations: 38.94 kB / 0.583 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.4122, allocations: 31.44 kB / 0.583 GB, free: 13.59 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4122, allocations: 0 / 0.583 GB, free: 13.59 MB / 430.1 MB Notification: Performance of Templates: time 0.008077/0.4202, allocations: 3.295 MB / 0.5862 GB, free: 10.32 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.324030250310898]