Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001453/0.001453, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001466/0.001466, allocations: 216.9 kB / 23.73 MB, free: 4.406 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.6/1.6, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2571/0.2571, allocations: 46.93 MB / 360.8 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 80.19 kB / 0.4966 GB, free: 7.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.388, allocations: 66.09 MB / 0.5612 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.0056/0.3936, allocations: 3.23 MB / 0.5643 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3953, allocations: 0.7984 MB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.3955, allocations: 11.94 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.3958, allocations: 75.28 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.396, allocations: 126.8 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.3965, allocations: 131.8 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.3971, allocations: 0.5258 MB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.3974, allocations: 170 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.3977, allocations: 219.3 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.3979, allocations: 191 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.024e-05/0.398, allocations: 52 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.3981, allocations: 48 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.3982, allocations: 115.5 kB / 0.5667 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.3984, allocations: 215.1 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006785/0.3991, allocations: 0.5551 MB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3991, allocations: 0 / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3991, allocations: 4 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.3991, allocations: 3.938 kB / 0.5675 GB, free: 13.52 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.001377/0.4005, allocations: 0.6922 MB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4005, allocations: 12.03 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.4006, allocations: 52.61 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.4011, allocations: 259.7 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.4012, allocations: 33.38 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.4013, allocations: 48.36 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008723/0.4021, allocations: 0.5145 MB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4021, allocations: 0 / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.4022, allocations: 20 kB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.4022, allocations: 16 kB / 0.5691 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.4029, allocations: 320.1 kB / 0.5694 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.4054, allocations: 1.448 MB / 0.5708 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.406, allocations: 225 kB / 0.571 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.4063, allocations: 129.6 kB / 0.5711 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.4064, allocations: 0 / 0.5711 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4064, allocations: 42.55 kB / 0.5712 GB, free: 9.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.163e-06/0.4064, allocations: 0 / 0.5712 GB, free: 9.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002957/0.4093, allocations: 1.138 MB / 0.5723 GB, free: 8.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.4094, allocations: 89.03 kB / 0.5724 GB, free: 8.215 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.4097, allocations: 253.8 kB / 0.5726 GB, free: 7.961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.4097, allocations: 33.7 kB / 0.5726 GB, free: 7.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.4099, allocations: 264.1 kB / 0.5729 GB, free: 7.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.41, allocations: 134.9 kB / 0.573 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.4102, allocations: 70.14 kB / 0.5731 GB, free: 7.449 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4103, allocations: 342.8 kB / 0.5734 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.4106, allocations: 104.8 kB / 0.5735 GB, free: 7.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.411, allocations: 212.3 kB / 0.5737 GB, free: 6.758 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.4116, allocations: 342.4 kB / 0.574 GB, free: 6.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4116, allocations: 0 / 0.574 GB, free: 6.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000872/0.4125, allocations: 417.9 kB / 0.5744 GB, free: 5.965 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.4125, allocations: 4 kB / 0.5744 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4125, allocations: 4 kB / 0.5744 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.4127, allocations: 29.22 kB / 0.5745 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.4132, allocations: 127.8 kB / 0.5746 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.4143, allocations: 1.311 MB / 0.5759 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.4146, allocations: 23.98 kB / 0.5759 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.4146, allocations: 16 kB / 0.5759 GB, free: 4.336 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.000204/0.4148, allocations: 169.8 kB / 0.5761 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.4149, allocations: 35.75 kB / 0.5761 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.683e-05/0.415, allocations: 30.12 kB / 0.5761 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.415, allocations: 7.984 kB / 0.5761 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.415, allocations: 4 kB / 0.5761 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.415, allocations: 144 / 0.5761 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.4161, allocations: 0.5927 MB / 0.5767 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4161, allocations: 0 / 0.5767 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.4165, allocations: 91.88 kB / 0.5768 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.451e-05/0.4166, allocations: 24.84 kB / 0.5768 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.4166, allocations: 8 kB / 0.5768 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.4177, allocations: 1.3 MB / 0.5781 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4177, allocations: 4.062 kB / 0.5781 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.4187, allocations: 0.6046 MB / 0.5787 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.4188, allocations: 43.83 kB / 0.5787 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.4189, allocations: 11.94 kB / 0.5788 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.4191, allocations: 23.98 kB / 0.5788 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.4192, allocations: 27.89 kB / 0.5788 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.4192, allocations: 11.98 kB / 0.5788 GB, free: 1.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.4194, allocations: 177.2 kB / 0.579 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4194, allocations: 0 / 0.579 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005083/0.4199, allocations: 95.94 kB / 0.5791 GB, free: 0.9023 MB / 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.0001515/0.4201, allocations: 110.8 kB / 0.5792 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009159/0.421, allocations: 394.9 kB / 0.5796 GB, free: 404 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.421, allocations: 0 / 0.5796 GB, free: 404 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.4214, allocations: 251.2 kB / 0.5798 GB, free: 140 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.4219, allocations: 45.47 kB / 0.5798 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.4237, allocations: 0.9206 MB / 0.5807 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.424, allocations: 203.8 kB / 0.5809 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.4241, allocations: 42.88 kB / 0.581 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.4242, allocations: 31.44 kB / 0.581 GB, free: 14.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4242, allocations: 0 / 0.581 GB, free: 14.84 MB / 430.1 MB Notification: Performance of Templates: time 0.008586/0.4328, allocations: 3.411 MB / 0.5843 GB, free: 11.47 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.585463669151068]